aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-25 14:38:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-25 14:48:25 +0300
commit2161f4a66606ae380c67e67343f5f07bb2649f54 (patch)
treef2c3f5519404b6efc0d6b1ec8e937d07f830eba3
parentc3a176c5cfae2b2f974c1a5f14b7e1e38a4650df (diff)
Fix parse_names_trailer() for 'cross with empty LHS' case ({$empty}{x y})
-rw-r--r--libbuild2/parser.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 4e8ad23..2f1cf56 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -3796,6 +3796,7 @@ namespace build2
//
if (ln.size () == 0)
{
+ next (t, tt); // Get what's after '{'.
parse (nullopt, nullptr, nullptr);
r.clear ();
continue;