diff options
Diffstat (limited to 'init/tokenizer.cpp')
-rw-r--r-- | init/tokenizer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init/tokenizer.cpp b/init/tokenizer.cpp index f8d9b6be7..bb143f18a 100644 --- a/init/tokenizer.cpp +++ b/init/tokenizer.cpp @@ -85,15 +85,19 @@ textresume: goto textdone; case 'n': *s++ = '\n'; + x++; break; case 'r': *s++ = '\r'; + x++; break; case 't': *s++ = '\t'; + x++; break; case '\\': *s++ = '\\'; + x++; break; case '\r': /* \ <cr> <lf> -> line continuation */ @@ -101,6 +105,7 @@ textresume: x++; continue; } + x++; case '\n': /* \ <lf> -> line continuation */ state->line++; |