Mercurial > urweb
diff src/lacweb.lex @ 170:a158f8c5aa55
Parsing basic patterns
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 29 Jul 2008 16:38:15 -0400 |
parents | 34ccd7d2bea8 |
children | 7ee424760d2f |
line wrap: on
line diff
--- a/src/lacweb.lex Tue Jul 29 16:02:02 2008 -0400 +++ b/src/lacweb.lex Tue Jul 29 16:38:15 2008 -0400 @@ -259,6 +259,7 @@ <INITIAL> "and" => (Tokens.AND (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)); <INITIAL> "structure" => (Tokens.STRUCTURE (pos yypos, pos yypos + size yytext)); <INITIAL> "signature" => (Tokens.SIGNATURE (pos yypos, pos yypos + size yytext));