Finished up the keyword resolution issue and fixed for, while and until. Other tags still need work.
This commit is contained in:
1 parent
93a520f152
commit
6da620971e
8 files changed
+61
-47
No files matched your search
@@ -24,9 +24,9 @@ namespace jet {
|
||||
resolveKeyword("name");
|
||||
|
||||
if(variableDefined("expr")) {
|
||||
resolveKeyword("eval");
|
||||
resolveKeyword("expr");
|
||||
if(!variableDefined("scope") || (variables["scope"] == "global"))
|
||||
global.variables[variables["name"]] = Operand(variables["expr"]).string;
|
||||
global.variables[variables["name"]] = Operand(variables["expr"]).string;
|
||||
else if(variables["scope"] == "local")
|
||||
parent->variables[variables["name"]] = Operand(variables["expr"]).string;
|
||||
else if(variables["scope"] == "parent")
|
||||
|
||||
Reference in new issue
Block a user