diff options
| author | 2022-08-07 17:04:30 +0200 | |
|---|---|---|
| committer | 2022-08-07 17:04:30 +0200 | |
| commit | 4991e71b33a41440c50bf1b14abd857d459f2b52 (patch) | |
| tree | 8a1391575e72433d09c2ac2669c89d540d56e239 /bootstrap/all.h | |
| parent | 81500312dcfdde2bd07c5071c7948a61b1f952ba (diff) | |
fix toks range
Diffstat (limited to 'bootstrap/all.h')
| -rw-r--r-- | bootstrap/all.h | 4 |
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; |