aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
Diffstat (limited to 'parsing')
-rw-r--r--parsing/lexer.mll2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing/lexer.mll b/parsing/lexer.mll
index e9b57a1f75..6a35d19dee 100644
--- a/parsing/lexer.mll
+++ b/parsing/lexer.mll
@@ -137,6 +137,8 @@ rule token = parse
{ ("INT", Lexing.lexeme lexbuf) }
| "(" | ")" | "[" | "]" | "{" | "}" | "." | "_"
{ ("", Lexing.lexeme lexbuf) }
+ | "->"
+ { ("", "->") }
| symbolchar+
{ ("", Lexing.lexeme lexbuf) }
| '`' [^'`']* '`'