summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
authorWormHeamer2025-08-03 19:52:18 -0400
committerWormHeamer2025-08-03 19:52:18 -0400
commit1a90ef4318c18161aaccf7390016a61c635ac748 (patch)
tree90b6cd4e2dc1261bc2250972aad71c847be80844 /lex.h
parent62e4b45143e4ff24a1758a2ccd3af5dfe69706ec (diff)
add assignment statements
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lex.h b/lex.h
index 922a217..a83905c 100644
--- a/lex.h
+++ b/lex.h
@@ -19,7 +19,6 @@
X(MINUS, "-")\
X(ASTERISK, "*")\
X(SLASH, "/")\
- X(EQUALS, "=")\
X(COLON, ":")\
X(COMMA, ",")\
X(NOT, "~")\
@@ -28,7 +27,8 @@
X(XOR, "xor")\
X(SHL, "<<")\
X(SHR, ">>")\
- X(ASSSIGN, ":=")\
+ X(ASSIGN, ":=")\
+ X(EQL, "=")\
X(NEQ, "<>")\
X(LES, "<")\
X(GTR, ">")\
@@ -47,8 +47,7 @@
X(TOK_MINUS, '-')\
X(TOK_ASTERISK, '*')\
X(TOK_SLASH, '/')\
- X(TOK_EQUALS, '=')\
- X(TOK_COLON, ':')\
+ X(TOK_EQL, '=')\
X(TOK_COMMA, ',')\
X(TOK_NOT, '~')\
X(TOK_AND, '&')\