aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/lexer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/lexer.hxx')
-rw-r--r--build2/cc/lexer.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/lexer.hxx b/build2/cc/lexer.hxx
index 146b579..7865a4e 100644
--- a/build2/cc/lexer.hxx
+++ b/build2/cc/lexer.hxx
@@ -85,7 +85,7 @@ namespace build2
next ()
{
token t;
- next (t, skip_spaces ());
+ next (t, skip_spaces (), true);
return t;
}
@@ -98,13 +98,13 @@ namespace build2
token_type
next (token& t)
{
- next (t, skip_spaces ());
+ next (t, skip_spaces (), true);
return t.type;
}
private:
void
- next (token&, xchar);
+ next (token&, xchar, bool);
void
number_literal (token&, xchar);