core: lexer: Add arrow token

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 08:10:57 -04:00
parent 3e3ccae003
commit 86645eb137
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -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"),