diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-16 13:20:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-16 13:20:06 +0200 |
commit | 77a0988759f295893b0b0e171249661a2059b1e7 (patch) | |
tree | 4c131abbc42179546fb76b2f588b4e389719e23f /build/lexer.cxx | |
parent | 9553742cf67863e81e4ff053506ca9f87ced57e4 (diff) |
Implement support for multiple scope/targets in variable assignment
Can now even do this:
foo/ file{*-bar} file{baz}: x = y
Diffstat (limited to 'build/lexer.cxx')
-rw-r--r-- | build/lexer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/lexer.cxx b/build/lexer.cxx index f6e34cb..864fc7b 100644 --- a/build/lexer.cxx +++ b/build/lexer.cxx @@ -75,7 +75,7 @@ namespace build // Handle pair separator. // if (m == lexer_mode::pairs && c == pair_separator_) - return token (type::pair_separator, sep, ln, cn); + return token (c, sep, ln, cn); // The following characters are not treated as special in the // value or pairs mode. |