mirror of
https://github.com/lua/lua
synced 2024-11-22 04:41:23 +03:00
criacao do token WRONGTOKEN, necessario para o novo analizador lexico
This commit is contained in:
parent
2058cc1dd9
commit
7f8a7e16cd
3
lua.stx
3
lua.stx
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user