allow implicit namespacification of identifier mapping path in eval parser, based on namespace of the procedure (if any) that the instruction pointer is currently within

This commit is contained in:
Ryan Fleury
2024-01-19 18:29:11 -08:00
parent d88000ddeb
commit f48d8431c0
2 changed files with 60 additions and 0 deletions
+13
View File
@@ -1,7 +1,20 @@
#include <fstream>
namespace SomeWeirdNamespace
{
int X = 0;
int Y = 0;
void Foo(void)
{
X = 123;
Y = 456;
int x = 0;
}
}
int main()
{
std::fstream temp;
SomeWeirdNamespace::Foo();
return 0;
}