diff options
-rw-r--r-- | token.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -218,10 +218,10 @@ run: ch = NXTCH(); case '\"': /* strings */ str: PUTCH(ch); - while ((ch = NXTCH()) != '\"') { + while ((ch = inch()) != '\"') { PUTCH(ch); if (ch == '\\') { - ch = NXTCH(); + ch = inch(); PUTCH(ch); } if (ch < 0) @@ -604,7 +604,6 @@ again: switch (c = inpch()) { case '\\': /* continued lines */ msdos: if ((c = inpch()) == '\n') { ifiles->lineno++; - putch('\n'); goto again; } else if (c == '\r') goto msdos; |