aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lexer.mll
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lexer.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lexer.mll b/lib/lexer.mll
index 90beacf..18dfee9 100644
--- a/lib/lexer.mll
+++ b/lib/lexer.mll
@@ -31,6 +31,7 @@ rule token = parse
| [' ' '\t' '\r']+ { token lexbuf }
| '%' [^ '\n']* { token lexbuf }
| "#(" { HASH_LPAREN }
+ | '#' (ident as name) { REFERENCE name }
| '(' { LPAREN }
| ')' { RPAREN }
| '[' { LBRACKET }