diff options
| author | 2026-01-09 09:04:35 +0100 | |
|---|---|---|
| committer | 2026-01-09 09:04:35 +0100 | |
| commit | 08a2f1a3dc834ed5ba7266be99306fccfb768c1a (patch) | |
| tree | d6ab19bfccd76091906d5f0ac0c4dac406231b07 /c | |
| parent | 155ced48ff098cf7dcb7a3639fb96f10e411d199 (diff) | |
cpp: fix single-line comment after preprocessor directive
It was eating up the newline token
Diffstat (limited to 'c')
| -rw-r--r-- | c/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -456,7 +456,7 @@ Begin: if (lx->chrbuf[lx->chrbuf0] == '\n') { lx->chridx = lx->chridxbuf[lx->chrbuf0++]; lx->eof = lx->chridx >= lx->ndat; - goto Begin; + RET('\n'); } } while (++lx->chrbuf0 < countof(lx->chrbuf)); fillchrbuf(lx); |