aboutsummaryrefslogtreecommitdiff
path: root/build/lexer.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
commitfd689eb883655dcb29e505b041cd02fac01f0bac (patch)
tree0d85ec32d95a1c96eaa7eff28734b900c44dd3ca /build/lexer.cxx
parent7f2d06258d57e39940e8fa959336da0ea66fe37f (diff)
Dist module/meta-operation initial implementation
Diffstat (limited to 'build/lexer.cxx')
-rw-r--r--build/lexer.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/lexer.cxx b/build/lexer.cxx
index 9dce949..fb4d9ea 100644
--- a/build/lexer.cxx
+++ b/build/lexer.cxx
@@ -48,10 +48,6 @@ namespace build
}
case '$':
{
- // The following name is lexed in the variable mode.
- //
- next_mode_ = lexer_mode::variable;
-
return token (token_type::dollar, sep, ln, cn);
}
case '(':
@@ -147,6 +143,7 @@ namespace build
switch (c)
{
case '/':
+ case '-':
{
done = true;
break;