From 640d5e95560d3c9099a58e09a93831197b863a2b Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Dec 2025 12:11:16 +0100 Subject: optimize lexer a bit more --- c/lex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/lex.h') diff --git a/c/lex.h b/c/lex.h index a850445..21519f7 100644 --- a/c/lex.h +++ b/c/lex.h @@ -95,8 +95,6 @@ struct lexer { const uchar *dat; uint ndat; uint idx, chridx; - short chrbuf[1<<10]; - uint chridxbuf[1<<10]; ushort chrbuf0; struct macrostack *macstk; struct token peektok; @@ -105,6 +103,8 @@ struct lexer { bool firstdirective; ushort nppcnd0; internstr inclguard; + uchar chrbuf[1<<10]; + uint chridxbuf[1<<10]; }; enum initlexer { -- cgit v1.2.3