From 9745e110b69bcf7e32896c444ddc4acd9ed0f8bf Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 30 Sep 2025 23:21:18 -0400 Subject: lex: np: Add lexer arithmetic operators Signed-off-by: Ian Moffett --- src/sys/include/np/lex.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sys/include/np/lex.h') 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, /* '' */ TT_COMMA, /* ',' */ TT_STAR, /* '*' */ + TT_MINUS, /* '-' */ + TT_PLUS, /* '+' */ + TT_SLASH, /* '/' */ + TT_EQUALS, /* '=' */ + TT_GT, /* '>' */ + TT_LT, /* '<' */ /* Types */ TT_U8, /* 'u8' */ -- cgit v1.2.3