mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
criacao do token WRONGTOKEN, necessario para o novo analizador lexico
This commit is contained in:
parent
2058cc1dd9
commit
7f8a7e16cd
1 changed files with 2 additions and 1 deletions
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 <stdlib.h>
|
||||
|
|
@ -150,6 +150,7 @@ static void code_number (float f)
|
|||
|
||||
%start functionlist
|
||||
|
||||
%token WRONGTOKEN
|
||||
%token NIL
|
||||
%token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
|
||||
%token RETURN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue