core: lexer: Add arrow token
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user