summaryrefslogtreecommitdiff
path: root/src/sys/include/np
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/np')
-rw-r--r--src/sys/include/np/lex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index 246769a..2efc14e 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -34,10 +34,14 @@
struct np_work;
+/* Keywords */
#define TOKEN_BEGIN "begin"
#define TOKEN_PROC "proc"
#define TOKEN_END "end"
+/* Types */
+#define TOKEN_U8 "u8"
+
/*
* Represents the various token types that are
* possible
@@ -46,6 +50,11 @@ typedef enum {
/* Symbols */
TT_LPAREN,
TT_RPAREN,
+ TT_IDENT,
+ TT_COMMA,
+
+ /* Types */
+ TT_U8,
/* Keywords */
TT_BEGIN,