Started into the Expression and Operand obejcts.

This commit is contained in:
Brad Arant committed 2024-07-31 16:18:29 -07:00
1 parent 071151d8a1
commit bd25efc461
11 files changed
+76 -21

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ namespace jet {
if(variableDefined("expr")) {
if(variableDefined("eval"))
throw coreutils::Exception("Cannot use eval with expr.");
global.variables[variables["name"]] = Expression(variables["expr"]);
global.variables[variables["name"]] = Expression(variables["expr"]).string;
} else if(hasContainer) {
if(evaluate) {
global.variables[variables["name"]] = out;