Fixing assignments on variable maps.

This commit is contained in:
Brad Arant committed 2024-02-16 14:42:36 -08:00
1 parent bb7be37fd6
commit 59fe0d5bd6
15 files changed
+5 -20

No files matched your search

+4 -2
View File
@@ -9,8 +9,10 @@ namespace jet {
std::cout << "value: [" << keywords["value"] << "]" << std::endl;
std::cout << "container: [" << container << "]" << std::endl;
std::cout << "scope: [" << keywords["scope"] << "]" << std::endl;
global.variables[name] = container;
std::cout << "var1: [" << global.variables.size() << "]" << std::endl;
global.variables[keywords["name"]] = container;
std::cout << "var2: [" << global.variables.size() << "]" << std::endl;
std::cout << "varx: [" << global.variables["varname"] << "]" << std::endl;
}
}