Mercurial > urweb
comparison src/lacweb.lex @ 123:e3041657d653
Parsing and elaborating (non-mutual) 'val rec'
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 17 Jul 2008 10:09:34 -0400 |
parents | 6230bdd122e7 |
children | 7420fa18d657 |
comparison
equal
deleted
inserted
replaced
122:f7c6ceb87bbd | 123:e3041657d653 |
---|---|
249 <INITIAL> "~" => (Tokens.TWIDDLE (pos yypos, pos yypos + size yytext)); | 249 <INITIAL> "~" => (Tokens.TWIDDLE (pos yypos, pos yypos + size yytext)); |
250 | 250 |
251 <INITIAL> "con" => (Tokens.CON (pos yypos, pos yypos + size yytext)); | 251 <INITIAL> "con" => (Tokens.CON (pos yypos, pos yypos + size yytext)); |
252 <INITIAL> "type" => (Tokens.LTYPE (pos yypos, pos yypos + size yytext)); | 252 <INITIAL> "type" => (Tokens.LTYPE (pos yypos, pos yypos + size yytext)); |
253 <INITIAL> "val" => (Tokens.VAL (pos yypos, pos yypos + size yytext)); | 253 <INITIAL> "val" => (Tokens.VAL (pos yypos, pos yypos + size yytext)); |
254 <INITIAL> "rec" => (Tokens.REC (pos yypos, pos yypos + size yytext)); | |
255 <INITIAL> "and" => (Tokens.AND (pos yypos, pos yypos + size yytext)); | |
254 <INITIAL> "fn" => (Tokens.FN (pos yypos, pos yypos + size yytext)); | 256 <INITIAL> "fn" => (Tokens.FN (pos yypos, pos yypos + size yytext)); |
255 <INITIAL> "fold" => (Tokens.FOLD (pos yypos, pos yypos + size yytext)); | 257 <INITIAL> "fold" => (Tokens.FOLD (pos yypos, pos yypos + size yytext)); |
256 | 258 |
257 <INITIAL> "structure" => (Tokens.STRUCTURE (pos yypos, pos yypos + size yytext)); | 259 <INITIAL> "structure" => (Tokens.STRUCTURE (pos yypos, pos yypos + size yytext)); |
258 <INITIAL> "signature" => (Tokens.SIGNATURE (pos yypos, pos yypos + size yytext)); | 260 <INITIAL> "signature" => (Tokens.SIGNATURE (pos yypos, pos yypos + size yytext)); |