aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/lex.h b/c/lex.h
index c4c38e8..35cf77d 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -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];