From bfd58e2c515e8c360fda4bee3d0702c60d92ebf0 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 2 Dec 2025 18:24:54 +0100 Subject: preprocessor: add #ifndef...#endif include guard optimization --- c/lex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/lex.h') 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 { -- cgit v1.2.3