Started into the Expression and Operand obejcts.
This commit is contained in:
1 parent
071151d8a1
commit
bd25efc461
11 files changed
+76
-21
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user