summaryrefslogtreecommitdiff
path: root/src/sys/include/np/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/np/lex.h')
-rw-r--r--src/sys/include/np/lex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/include/np/lex.h b/src/sys/include/np/lex.h
index ba581b7..b9c8a6a 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -35,6 +35,9 @@
/* End-of-file */
#define LEX_EOF (-2)
+/* Max string length */
+#define LEX_MAX_STRLEN 4096
+
struct np_work;
/* Keywords */
@@ -86,6 +89,7 @@ typedef enum {
TT_I16, /* 'i16' */
TT_I32, /* 'i32' */
TT_I64, /* 'i64' */
+ TT_STR, /* <string> */
/* Values */
TT_NUMBER, /* <numbers> */