diff --git a/Slang/Main.cpp b/Slang/Main.cpp index 3fdedf8..5872b68 100644 --- a/Slang/Main.cpp +++ b/Slang/Main.cpp @@ -331,7 +331,7 @@ bool BooleanLogic(const string& valA, const string& determinant, const string& v return false; } -int evalEqu(const vector& str, unordered_map& variableValues) +int varOperation(const vector& str, unordered_map& variableValues) { if (IsVar(str[0], variableValues)) { @@ -418,7 +418,7 @@ any ProcessLine(const vector>& 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(words[lineNum].begin(), words[lineNum].end()), variableValues); + varOperation(vector(words[lineNum].begin(), words[lineNum].end()), variableValues); return; }