summaryrefslogtreecommitdiff
path: root/src/lacweb.lex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-08 14:25:27 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-08 14:25:27 -0400
commit33cf695e0ba9586f05242b7d3595c94ed5c99b98 (patch)
tree2107ff15033d8138633b227ee9e6323c7346b788 /src/lacweb.lex
parent59cf4e73d9d6998ea4a83aa38c75c95ed462779f (diff)
Unification wildcards
Diffstat (limited to 'src/lacweb.lex')
-rw-r--r--src/lacweb.lex2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lacweb.lex b/src/lacweb.lex
index af2ed464..3fb3d95e 100644
--- a/src/lacweb.lex
+++ b/src/lacweb.lex
@@ -120,6 +120,8 @@ realconst = [0-9]+\.[0-9]*;
<INITIAL> "." => (Tokens.DOT (yypos, yypos + size yytext));
<INITIAL> "$" => (Tokens.DOLLAR (yypos, yypos + size yytext));
<INITIAL> "#" => (Tokens.HASH (yypos, yypos + size yytext));
+<INITIAL> "__" => (Tokens.UNDERUNDER (yypos, yypos + size yytext));
+<INITIAL> "_" => (Tokens.UNDER (yypos, yypos + size yytext));
<INITIAL> "con" => (Tokens.CON (yypos, yypos + size yytext));
<INITIAL> "type" => (Tokens.LTYPE (yypos, yypos + size yytext));