diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/lexer.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/build/lexer.cxx b/build/lexer.cxx index e083b4a..b680234 100644 --- a/build/lexer.cxx +++ b/build/lexer.cxx @@ -225,7 +225,9 @@ namespace build case '\\': { get (); - lexeme += escape (); + c = escape (); + if (c != '\n') // Ignore. + lexeme += c; continue; } case '\'': @@ -362,10 +364,7 @@ namespace build get (); if (peek () == '\n') - { - r = true; - break; - } + break; // Ignore. unget (c); // Fall through. |