Fixed bug on call tag scope check. Added keyword duplicate check to Tag processing.
This commit is contained in:
1 parent
069fb9c9f3
commit
858d073d63
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ namespace jet {
|
||||
close(fdo[1]);
|
||||
if(variableDefined("name")) {
|
||||
resolveKeyword("name");
|
||||
if(!variableDefined("scope") && (variables["scope"] == "global"))
|
||||
if(!variableDefined("scope") || (variables["scope"] == "global"))
|
||||
global.variables[variables["name"]].read(fdo[0]);
|
||||
else if(variables["scope"] == "local")
|
||||
parent->variables[variables["name"]].read(fdo[0]);
|
||||
|
||||
Reference in new issue
Block a user