summaryrefslogtreecommitdiff
path: root/src/sys/include/np
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-30 23:21:18 -0400
committerIan Moffett <ian@osmora.org>2025-09-30 23:21:18 -0400
commit9745e110b69bcf7e32896c444ddc4acd9ed0f8bf (patch)
treea7831c2e55463fc438cd0b036803491993452dae /src/sys/include/np
parent2cf918c3e20164559f1bae5fbd83fb7a40e2190a (diff)
lex: np: Add lexer arithmetic operators
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/np')
-rw-r--r--src/sys/include/np/lex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index 0381afb..daca954 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -53,6 +53,12 @@ typedef enum {
TT_IDENT, /* '<IDENTIFIER>' */
TT_COMMA, /* ',' */
TT_STAR, /* '*' */
+ TT_MINUS, /* '-' */
+ TT_PLUS, /* '+' */
+ TT_SLASH, /* '/' */
+ TT_EQUALS, /* '=' */
+ TT_GT, /* '>' */
+ TT_LT, /* '<' */
/* Types */
TT_U8, /* 'u8' */