criacao do token WRONGTOKEN, necessario para o novo analizador lexico

This commit is contained in:
Roberto Ierusalimschy 1993-12-22 19:19:23 -02:00
parent 2058cc1dd9
commit 7f8a7e16cd

View File

@ -1,6 +1,6 @@
%{ %{
char *rcs_luastx = "$Id: $"; char *rcs_luastx = "$Id: lua.stx,v 1.1 1993/12/17 18:53:07 celes Exp roberto $";
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -150,6 +150,7 @@ static void code_number (float f)
%start functionlist %start functionlist
%token WRONGTOKEN
%token NIL %token NIL
%token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END %token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
%token RETURN %token RETURN