aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/lexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/lexer.cxx')
-rw-r--r--build2/cc/lexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/lexer.cxx b/build2/cc/lexer.cxx
index d1a9115..15627c7 100644
--- a/build2/cc/lexer.cxx
+++ b/build2/cc/lexer.cxx
@@ -118,7 +118,7 @@ namespace build2
// Increment the logical line similar to how base will increment the
// physical (the column counts are the same).
//
- if (log_line_ && c == '\n' && !unget_ && !unpeek_)
+ if (log_line_ && c == '\n' && !unget_)
++*log_line_;
base::get (c);