diff options
| author | 2026-02-24 14:09:19 +0100 | |
|---|---|---|
| committer | 2026-02-24 14:09:19 +0100 | |
| commit | f73f0301fd2d4306f173984fc8089ad463da26fe (patch) | |
| tree | 8e20f34b0d2a7b621ec3dd8b44e563ed359e3f77 /c/lex.h | |
| parent | 6417c31a69ce06f35e00771fd2ecc87dbe48cd7a (diff) | |
diagnostics: also print #include provenance for warnings
Diffstat (limited to 'c/lex.h')
| -rw-r--r-- | c/lex.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ struct token { */ }; -extern int nerror; +extern int nerror, nwarn; struct lexer { struct lexer *save; short fileid; @@ -102,7 +102,7 @@ struct lexer { struct arena **tmparena; bool firstdirective; short nppcnd0; - short inclnerror; + short inclnerror, inclnwarn; internstr inclguard; uchar chrbuf[1<<10]; uint chridxbuf[1<<10]; |