summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarson Fleming <[email protected]>2026-03-13 01:15:35 -0400
committerCarson Fleming <[email protected]>2026-03-13 01:15:35 -0400
commit1f85b418dd7960c28f16de21c44dcb4e2e05e694 (patch)
tree51ec6a1f871a62c7c52c336f1881b121ea661313
parentf2a46ca8fdb607c9810f657193062b5fb9b02d3f (diff)
downloadccc-1f85b418dd7960c28f16de21c44dcb4e2e05e694.tar.gz
modulo operators before I forget
-rw-r--r--lexer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lexer.h b/lexer.h
index 62ee9c2..24fb22d 100644
--- a/lexer.h
+++ b/lexer.h
@@ -39,7 +39,9 @@ enum token_type {
LOG_PIPE,
PIPE_EQ,
DIV,
- DIV_EQ, // comments too
+ DIV_EQ,
+ MOD,
+ MOD_EQ,
LT,
GT,
LEQ,
@@ -48,8 +50,6 @@ enum token_type {
SHR_EQ,
SHL,
SHL_EQ
- /* more to come */
- // ->, everything that can precede = (multi-symbols)
};
typedef unsigned long long intlit_t;