diff options
Diffstat (limited to 'c')
| -rw-r--r-- | c/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -479,7 +479,7 @@ Begin: if (match(lx, '=')) RET(TKSETDIV); if (match(lx, '/')) { /* // comment */ - while (!lx->eof && !match(lx, '\n')) + while (!lx->eof && peek(lx, 0) != '\n') next(lx); goto Begin; } |