diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1993-12-22 19:19:23 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1993-12-22 19:19:23 -0200 |
commit | 7f8a7e16cd8e5c26884ec8a0ce055ab75e9932a2 (patch) | |
tree | a9ceebc1702de34cd2fc16393a31dadd034dd692 | |
parent | 2058cc1dd9fa0ec57fe9191f66ed8b2790b31a25 (diff) | |
download | lua-7f8a7e16cd8e5c26884ec8a0ce055ab75e9932a2.tar.gz lua-7f8a7e16cd8e5c26884ec8a0ce055ab75e9932a2.tar.bz2 lua-7f8a7e16cd8e5c26884ec8a0ce055ab75e9932a2.zip |
criacao do token WRONGTOKEN, necessario para o novo analizador lexico
-rw-r--r-- | lua.stx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | %{ | 1 | %{ |
2 | 2 | ||
3 | char *rcs_luastx = "$Id: $"; | 3 | char *rcs_luastx = "$Id: lua.stx,v 1.1 1993/12/17 18:53:07 celes Exp roberto $"; |
4 | 4 | ||
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
@@ -150,6 +150,7 @@ static void code_number (float f) | |||
150 | 150 | ||
151 | %start functionlist | 151 | %start functionlist |
152 | 152 | ||
153 | %token WRONGTOKEN | ||
153 | %token NIL | 154 | %token NIL |
154 | %token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END | 155 | %token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END |
155 | %token RETURN | 156 | %token RETURN |