aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/b.cxx')
-rw-r--r--build/b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/b.cxx b/build/b.cxx
index bd02052..e231aa3 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -253,7 +253,7 @@ main (int argc, char* argv[])
break;
parser p;
- t = p.parse_variable (l, *root_scope, t.name (), tt);
+ t = p.parse_variable (l, *global_scope, t.name (), tt);
if (t.type () != token_type::eos)
fail << "unexpected " << t << " in variable " << s;