summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lexer/char_info.h1
-rw-r--r--include/lexer/token.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/lexer/char_info.h b/include/lexer/char_info.h
index d9205b0..4f2e398 100644
--- a/include/lexer/char_info.h
+++ b/include/lexer/char_info.h
@@ -60,6 +60,7 @@
#define CHAR_RCURLY MAKE_SINGLE(TOK_RCURLY)
#define CHAR_LSQUARE MAKE_SINGLE(TOK_LSQUARE)
#define CHAR_RSQUARE MAKE_SINGLE(TOK_RSQUARE)
+#define CHAR_ASTER MAKE_SINGLE(TOK_ASTERISK)
#define CHAR_INFO_COUNT 256
diff --git a/include/lexer/token.h b/include/lexer/token.h
index f51b5e9..c6264d0 100644
--- a/include/lexer/token.h
+++ b/include/lexer/token.h
@@ -49,6 +49,7 @@ enum token_kind {
TOK_RCURLY,
TOK_LSQUARE,
TOK_RSQUARE,
+ TOK_ASTERISK,
/*
* Do not modify this ordering without updating parser/types.c