OPerand now does its own expression parsing.
This commit is contained in:
1 parent
4d016197d2
commit
839f7e2eb8
11 files changed
+120
-115
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ namespace jet {
|
||||
if(variableDefined("expr")) {
|
||||
if(variableDefined("eval"))
|
||||
throw coreutils::Exception("Cannot use eval with expr.");
|
||||
global.headers[variables["name"]] = Operand(variables["expr"]).string;
|
||||
global.headers[variables["name"]] = Operand(variables["expr"], global, parent->variables).string;
|
||||
} else if(hasContainer) {
|
||||
processContainer(container);
|
||||
if(evaluate) {
|
||||
|
||||
Reference in new issue
Block a user