From f6e6cfc3b5c7c84dedddc95084c423608769d4b7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 26 Apr 2017 12:43:15 +0200 Subject: Fix bug in pair handling --- build2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/parser.cxx') 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) -- cgit v1.1