From 4d820e24aa37595e7a41947e6f18721d1ebec6d1 Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Wed, 5 Jan 2022 10:41:39 -0500 Subject: [PATCH] Changed name of evalEqu to varOperation --- Slang/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }