aboutsummaryrefslogtreecommitdiff
path: root/build/lexer.cxx
diff options
context:
space:
mode:
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;