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.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 ebd6f32..ba581b7 100644
--- a/src/sys/include/np/lex.h
+++ b/src/sys/include/np/lex.h
@@ -41,6 +41,7 @@ struct np_work;
#define TOKEN_BEGIN "begin"
#define TOKEN_PROC "proc"
#define TOKEN_END "end"
+#define TOKEN_RETURN "return"
/* Types */
#define TOKEN_U8 "u8"
@@ -93,6 +94,7 @@ typedef enum {
TT_BEGIN, /* 'begin' */
TT_PROC, /* 'proc' */
TT_END, /* 'end' */
+ TT_RETURN, /* 'return' */
} tt_t;
typedef uint64_t tokval_t;