fixed some bugs. Added resolveContainerParent flag to resolve set container issue not reading local variables appropriately.

This commit is contained in:
Brad Arant committed 2024-11-26 13:32:15 -08:00
1 parent e3d788bc92
commit bd8aa1c089
6 files changed
+13 -12

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ namespace jet {
__set::__set(coreutils::ZString &in, coreutils::MString &parentOut, Global &global, Tag *parent) : Tag(in, parentOut, global, parent) {
output = false;
resolveContainerParent = true;
if(!variableDefined("name"))
throw coreutils::Exception("set tag must have name defined.");
if(!variableDefined("expr") && variableDefined("value") && hasContainer)