aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-27 14:36:23 +0200
committerlemon <lsof@mailbox.org>2023-05-27 14:36:23 +0200
commit0f53520c5ee5f07ec2ba0361172fd72bd1456ad4 (patch)
tree6ba8c3bb92dbe451ac7b36fabfa27021c79e1a45 /parse.h
parent640a3dac2b18d037169af15dfd5502c386c7e828 (diff)
recursive descent -> precedence climbing parser
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.h b/parse.h
index 843550a..fd1cd20 100644
--- a/parse.h
+++ b/parse.h
@@ -35,12 +35,12 @@ enum toktag { /* single-character tokens' tag value is the character itself */
TKSETSUB,
TKSETMUL,
TKSETDIV,
- TKSETMOD,
+ TKSETREM,
TKSETIOR,
TKSETXOR,
TKSETAND,
- TKSETSHR,
TKSETSHL,
+ TKSETSHR,
TKIDENT = 0x80,
#define _(kw, stdc) TKW##kw,
#include "keywords.def"