More work on Global getVariabke.
This commit is contained in:
1 parent
0379974d5e
commit
3679644f64
2 files changed
+9
-3
No files matched your search
@@ -55,6 +55,11 @@ namespace jet {
|
||||
coreutils::MString name = variable.getTokenInclude("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-");
|
||||
if(variable.ifNext("]"))
|
||||
return name;
|
||||
if(variable.startsWith("$[")) {
|
||||
name << getVariable(variable);
|
||||
return name;
|
||||
}
|
||||
return coreutils::MString("");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user