mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
Changed name of evalEqu to varOperation
This commit is contained in:
parent
d761591b14
commit
4d820e24aa
@ -331,7 +331,7 @@ bool BooleanLogic(const string& valA, const string& determinant, const string& v
|
||||
return false;
|
||||
}
|
||||
|
||||
int evalEqu(const vector<string>& str, unordered_map<string, any>& variableValues)
|
||||
int varOperation(const vector<string>& str, unordered_map<string, any>& variableValues)
|
||||
{
|
||||
if (IsVar(str[0], variableValues))
|
||||
{
|
||||
@ -418,7 +418,7 @@ any ProcessLine(const vector<vector<string>>& words, const int lineNum, unordere
|
||||
else if (IsVar(words[lineNum][0], variableValues))
|
||||
{
|
||||
// Evaluates what the operator (ex. '=', '+=') does to the value on the left by the value on the right
|
||||
evalEqu(vector<string>(words[lineNum].begin(), words[lineNum].end()), variableValues);
|
||||
varOperation(vector<string>(words[lineNum].begin(), words[lineNum].end()), variableValues);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user