aboutsummaryrefslogtreecommitdiff
path: root/build/lexer.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-16 13:20:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-16 13:20:06 +0200
commit77a0988759f295893b0b0e171249661a2059b1e7 (patch)
tree4c131abbc42179546fb76b2f588b4e389719e23f /build/lexer.cxx
parent9553742cf67863e81e4ff053506ca9f87ced57e4 (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.cxx2
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.