diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-06-19 15:15:00 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-06-19 15:15:00 -0400 |
commit | 5a4ddea95a551c5f95f0dcbda433fe457b61d25a (patch) | |
tree | 60135c04bf54aba0d443ec39a4dc37ec0f399852 /src/lacweb.lex | |
parent | 8e98be7de2dd3db541994aae47aeb45756f60098 (diff) |
Functor parsing
Diffstat (limited to 'src/lacweb.lex')
-rw-r--r-- | src/lacweb.lex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lacweb.lex b/src/lacweb.lex index c5ce7ae8..56f19060 100644 --- a/src/lacweb.lex +++ b/src/lacweb.lex @@ -133,6 +133,7 @@ realconst = [0-9]+\.[0-9]*; <INITIAL> "struct" => (Tokens.STRUCT (yypos, yypos + size yytext)); <INITIAL> "sig" => (Tokens.SIG (yypos, yypos + size yytext)); <INITIAL> "end" => (Tokens.END (yypos, yypos + size yytext)); +<INITIAL> "functor" => (Tokens.FUNCTOR (yypos, yypos + size yytext)); <INITIAL> "Type" => (Tokens.TYPE (yypos, yypos + size yytext)); <INITIAL> "Name" => (Tokens.NAME (yypos, yypos + size yytext)); |