aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-27 16:47:44 +0100
committerlemon <lsof@mailbox.org>2025-10-27 16:47:44 +0100
commit317a26280e1582c426a13aecb77356f48c001a02 (patch)
tree707d2d0c3211fdd2cfcd14df2b89de74bcddc719 /c/lex.h
parentba5446b5cb8330f8e318b8efccebeed7bd23e0f4 (diff)
lex: fix bugs filling char buffer
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/lex.h b/c/lex.h
index 60a28bf..daed23c 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -91,7 +91,7 @@ struct lexer {
uint idx, chridx;
short chrbuf[1<<10];
uint chridxbuf[1<<10];
- ushort nchrbuf, chrbuf0;
+ ushort chrbuf0;
struct macrostack *macstk;
struct token peektok;
bool eof, err;