Only restore parent context's \@ value if it had one defined (#1366)

This way, if a child context initializes `\@`, the parent won't
reset it. And if the child context did not initialize `\@`,
then resetting it would be redundant.
This commit is contained in:
Sylvie authored and GitHub committed 2024-03-21 19:53:49 -04:00
1 parent 0f772932a5
commit f792580816
7 files changed
+108 -5

No files matched your search

-2
View File
@@ -14,8 +14,6 @@
#include "linkdefs.hpp"
#include "asm/lexer.hpp"
struct FileStackNode {
FileStackNodeType type;
std::variant<