diff options
Diffstat (limited to 'src/lexer2.mll')
| -rw-r--r-- | src/lexer2.mll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lexer2.mll b/src/lexer2.mll index ebd806c4..a51067aa 100644 --- a/src/lexer2.mll +++ b/src/lexer2.mll @@ -174,7 +174,8 @@ rule token = parse token lexbuf } | "&" { (Amp(r"&")) } | "|" { Bar } - | "^" { (Carrot(r"^")) } + | "2" ws "^" { TwoCaret } + | "^" { (Caret(r"^")) } | ":" { Colon(r ":") } | "," { Comma } | "." { Dot } |
