aboutsummaryrefslogtreecommitdiff
path: root/build2/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/context.cxx')
-rw-r--r--build2/context.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 96532c4..0988f79 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -101,7 +101,7 @@ namespace build2
}
parser p;
- t = p.parse_variable (l, gs, t.value, tt);
+ t = p.parse_variable (l, gs, var_pool.find (t.value), tt);
if (t.type != token_type::eos)
fail << "unexpected " << t << " in variable assignment '" << v << "'";