summaryrefslogtreecommitdiff
path: root/core/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parser.c')
-rw-r--r--core/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/parser.c b/core/parser.c
index 3b3e91b..5d64bb7 100644
--- a/core/parser.c
+++ b/core/parser.c
@@ -37,6 +37,7 @@ static const char *toktab[] = {
[TT_LPAREN] = qtok("("),
[TT_RPAREN] = qtok(")"),
[TT_COMMA] = qtok(","),
+ [TT_ARROW] = qtok("->"),
[TT_RETURN] = qtok("return"),
[TT_PUB] = qtok("pub"),
[TT_PROC] = qtok("proc"),