OPerand now does its own expression parsing.

This commit is contained in:
brad Arant committed 2024-11-16 10:23:16 -08:00
1 parent 4d016197d2
commit 839f7e2eb8
11 files changed
+120 -115

No files matched your search

+1 -1
View File
@@ -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) {