diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-30 23:21:18 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-30 23:21:18 -0400 |
commit | 9745e110b69bcf7e32896c444ddc4acd9ed0f8bf (patch) | |
tree | a7831c2e55463fc438cd0b036803491993452dae /src/sys/include | |
parent | 2cf918c3e20164559f1bae5fbd83fb7a40e2190a (diff) |
lex: np: Add lexer arithmetic operators
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/np/lex.h | 6 |
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' */ |