This commit is contained in:
Brad Arant committed 2024-12-02 15:46:49 -08:00
1 parent ae57e06778
commit 90540d3c44
8 files changed
+493 -13

No files matched your search

+2 -2
View File
@@ -54,9 +54,9 @@ namespace jet {
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]);
local->variables[variables["name"]].read(fdo[0]);
else if(variables["scope"] == "parent")
parent->parent->variables[variables["name"]].read(fdo[0]);
local->parent->local->variables[variables["name"]].read(fdo[0]);
else
throw coreutils::Exception("scope value is not valid.");