diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-26 12:43:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-26 12:43:15 +0200 |
commit | f6e6cfc3b5c7c84dedddc95084c423608769d4b7 (patch) | |
tree | 6602234ad3d053280ed43c3fc66391fcc9ae6356 /build2/parser.cxx | |
parent | a7432e49d4c5009990da9bafb9c62a9542b04ac6 (diff) |
Fix bug in pair handling
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 2 |
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) |