diff src/lacweb.lex @ 7:2ce5bf227d01

Add type keyword
author Adam Chlipala <adamc@hcoop.net>
date Sat, 26 Jan 2008 16:51:39 -0500
parents 4202f6eda946
children a455a9f85cc3
line wrap: on
line diff
--- a/src/lacweb.lex	Sat Jan 26 16:44:39 2008 -0500
+++ b/src/lacweb.lex	Sat Jan 26 16:51:39 2008 -0500
@@ -109,6 +109,7 @@
 <INITIAL> "#"         => (Tokens.HASH (yypos, yypos + size yytext));
 
 <INITIAL> "con"       => (Tokens.CON (yypos, yypos + size yytext));
+<INITIAL> "type"      => (Tokens.LTYPE (yypos, yypos + size yytext));
 <INITIAL> "fn"        => (Tokens.FN (yypos, yypos + size yytext));
 
 <INITIAL> "Type"      => (Tokens.TYPE (yypos, yypos + size yytext));