Skip to content

Commit

Permalink
operators: nearly done! /8
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Dec 25, 2024
1 parent 23c62f4 commit 1d46a43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/minitscript/minitscript/MinitScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3883,7 +3883,9 @@ const string MinitScript::doStatementPreProcessing(const string& processedStatem
}
//
string arguments;
arguments+= "\"" + _StringTools::replace(_StringTools::replace(string(subMethodName), "\\", "\\\\"), "\"", "\\\"") + "\"";
// TODO: not required really, would require string operations on validation
// arguments+= "\"" + string(subMethodName) + "\"";
arguments+= string(subMethodName);
arguments+= ", " + to_string(encodeOperatorString(operatorString));
for (const auto& argument: subArguments) {
arguments+= ", " + string(argument.argument);
Expand Down

0 comments on commit 1d46a43

Please sign in to comment.