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
@@ -36,7 +36,7 @@ namespace jet {
throw coreutils::Exception("value2 should not be specified with expr.");
if(variableDefined("type"))
throw coreutils::Exception("type should not be specified with expr.");
booleanResult = Operand(variables["expr"]).boolean;
booleanResult = Operand(variables["expr"], global, parent->variables).boolean;
}
if(booleanResult)
processContainer(container);