diff options
Diffstat (limited to 'src/lacweb.lex')
-rw-r--r-- | src/lacweb.lex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lacweb.lex b/src/lacweb.lex index 3fb3d95e..2170c1d5 100644 --- a/src/lacweb.lex +++ b/src/lacweb.lex @@ -128,6 +128,12 @@ realconst = [0-9]+\.[0-9]*; <INITIAL> "val" => (Tokens.VAL (yypos, yypos + size yytext)); <INITIAL> "fn" => (Tokens.FN (yypos, yypos + size yytext)); +<INITIAL> "structure" => (Tokens.STRUCTURE (yypos, yypos + size yytext)); +<INITIAL> "signature" => (Tokens.STRUCTURE (yypos, yypos + size yytext)); +<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> "Type" => (Tokens.TYPE (yypos, yypos + size yytext)); <INITIAL> "Name" => (Tokens.NAME (yypos, yypos + size yytext)); |