Mercurial > urweb
diff src/lacweb.lex @ 242:cc193f680193
Shorthand for multi-binding exp declaration
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 28 Aug 2008 14:05:47 -0400 |
parents | f5732dc1316c |
children | 2b9dfaffb008 |
line wrap: on
line diff
--- a/src/lacweb.lex Thu Aug 28 13:57:12 2008 -0400 +++ b/src/lacweb.lex Thu Aug 28 14:05:47 2008 -0400 @@ -274,6 +274,7 @@ <INITIAL> "val" => (Tokens.VAL (pos yypos, pos yypos + size yytext)); <INITIAL> "rec" => (Tokens.REC (pos yypos, pos yypos + size yytext)); <INITIAL> "and" => (Tokens.AND (pos yypos, pos yypos + size yytext)); +<INITIAL> "fun" => (Tokens.FUN (pos yypos, pos yypos + size yytext)); <INITIAL> "fn" => (Tokens.FN (pos yypos, pos yypos + size yytext)); <INITIAL> "fold" => (Tokens.FOLD (pos yypos, pos yypos + size yytext)); <INITIAL> "case" => (Tokens.CASE (pos yypos, pos yypos + size yytext));