aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r--build2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index b95aeae..cfd18c6 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -3585,7 +3585,7 @@ namespace build2
fail (t) << "multiple " << what << "s on the left hand side "
<< "of a pair";
- ns.back ().pair = pair_separator ();
+ ns.back ().pair = t.value[0];
// If the next token is separated, then we have an empty RHS. Note
// that the case where it is not a name/group (e.g., a newline/eos)