aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-07 17:04:30 +0200
committerlemon <lsof@mailbox.org>2022-08-07 17:04:30 +0200
commit4991e71b33a41440c50bf1b14abd857d459f2b52 (patch)
tree8a1391575e72433d09c2ac2669c89d540d56e239 /bootstrap/all.h
parent81500312dcfdde2bd07c5071c7948a61b1f952ba (diff)
fix toks range
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index aba2bc3..8c61d5e 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -61,7 +61,8 @@ enum toktype {
#define KWTK(kw) TKkw_##kw,
LIST_KEYWORDS(KWTK)
#undef KWTK
- TKintlit,
+ NUM_KEYWORDS,
+ TKintlit = -100,
TKflolit,
TKboolit,
TKstrlit,
@@ -74,7 +75,6 @@ enum toktype {
TKexpr,
TKeof,
};
-#define NUM_KEYWORDS TKintlit
struct tok {
int t;