aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-20 12:11:16 +0100
committerlemon <lsof@mailbox.org>2025-12-20 12:11:16 +0100
commit640d5e95560d3c9099a58e09a93831197b863a2b (patch)
tree4050b9ee8ac6ca0332069d7265cbf39f3a5872a1 /c/lex.h
parent059a9a0b01010298b7e45228cfb5ef4010bc22bc (diff)
optimize lexer a bit more
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 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 {