aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-02 18:24:54 +0100
committerlemon <lsof@mailbox.org>2025-12-02 18:24:54 +0100
commitbfd58e2c515e8c360fda4bee3d0702c60d92ebf0 (patch)
tree33f11ac7d4d56cbbe65cdf79753728b7fd4dfc9c /c/lex.h
parent3c6e4dd54d5c144369b96d6673da7f23df4940da (diff)
preprocessor: add #ifndef...#endif include guard optimization
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/lex.h b/c/lex.h
index cb25d8b..aab2762 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -99,6 +99,9 @@ struct lexer {
struct token peektok;
bool eof, err;
struct arena **tmparena;
+ bool firstdirective;
+ ushort nppcnd0;
+ const char *inclguard;
};
enum initlexer {