summaryrefslogtreecommitdiff
path: root/src/sys/include/np
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-01 03:27:55 -0400
committerIan Moffett <ian@osmora.org>2025-10-01 03:27:55 -0400
commit7f1b8e0de568defb342286216f0f9a8afd568bdb (patch)
tree966d92ae6842c28ee8b901d7e9023e49ae956acf /src/sys/include/np
parente2503def53445f74d37fcbc5d67b956bd795092f (diff)
np: lex: Add left/right bracket tokens
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/np')
-rw-r--r--src/sys/include/np/lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index 235e997..8977305 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -59,6 +59,8 @@ typedef enum {
TT_EQUALS, /* '=' */
TT_GT, /* '>' */
TT_LT, /* '<' */
+ TT_LBRACK, /* '[' */
+ TT_RBRACK, /* ']' */
/* Types */
TT_U8, /* 'u8' */