comparison src/lacweb.lex @ 195:85b5f663bb86

Tuples syntactic sugar
author Adam Chlipala <adamc@hcoop.net>
date Sat, 09 Aug 2008 12:50:49 -0400
parents 3eb53c957d10
children dd82457fda82
comparison
equal deleted inserted replaced
194:df5fd8f6913a 195:85b5f663bb86
248 <INITIAL> "#" => (Tokens.HASH (pos yypos, pos yypos + size yytext)); 248 <INITIAL> "#" => (Tokens.HASH (pos yypos, pos yypos + size yytext));
249 <INITIAL> "__" => (Tokens.UNDERUNDER (pos yypos, pos yypos + size yytext)); 249 <INITIAL> "__" => (Tokens.UNDERUNDER (pos yypos, pos yypos + size yytext));
250 <INITIAL> "_" => (Tokens.UNDER (pos yypos, pos yypos + size yytext)); 250 <INITIAL> "_" => (Tokens.UNDER (pos yypos, pos yypos + size yytext));
251 <INITIAL> "~" => (Tokens.TWIDDLE (pos yypos, pos yypos + size yytext)); 251 <INITIAL> "~" => (Tokens.TWIDDLE (pos yypos, pos yypos + size yytext));
252 <INITIAL> "|" => (Tokens.BAR (pos yypos, pos yypos + size yytext)); 252 <INITIAL> "|" => (Tokens.BAR (pos yypos, pos yypos + size yytext));
253 <INITIAL> "*" => (Tokens.STAR (pos yypos, pos yypos + size yytext));
253 254
254 <INITIAL> "con" => (Tokens.CON (pos yypos, pos yypos + size yytext)); 255 <INITIAL> "con" => (Tokens.CON (pos yypos, pos yypos + size yytext));
255 <INITIAL> "type" => (Tokens.LTYPE (pos yypos, pos yypos + size yytext)); 256 <INITIAL> "type" => (Tokens.LTYPE (pos yypos, pos yypos + size yytext));
256 <INITIAL> "datatype" => (Tokens.DATATYPE (pos yypos, pos yypos + size yytext)); 257 <INITIAL> "datatype" => (Tokens.DATATYPE (pos yypos, pos yypos + size yytext));
257 <INITIAL> "of" => (Tokens.OF (pos yypos, pos yypos + size yytext)); 258 <INITIAL> "of" => (Tokens.OF (pos yypos, pos yypos + size yytext));