diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-09 21:23:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-11 14:31:39 +0300 |
commit | 26af9268e98ed4c82c83b8f6e3f94af71b109eba (patch) | |
tree | 3062b7087a87f2aa145fb13db06a7db941d07db8 /libbuild2/test/script/script.cxx | |
parent | 32f153664e7b6cadfb518b83e12b9768a150d709 (diff) |
Fix set pseudo-builtin to reset special variables when required
Diffstat (limited to 'libbuild2/test/script/script.cxx')
-rw-r--r-- | libbuild2/test/script/script.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/test/script/script.cxx b/libbuild2/test/script/script.cxx index b539c71..32bd989 100644 --- a/libbuild2/test/script/script.cxx +++ b/libbuild2/test/script/script.cxx @@ -181,6 +181,9 @@ namespace build2 token_type::assign, path_name ("<attributes>")); } + + if (root.test_command_var (var.name)) + reset_special (); } // script_base |