mirror of https://github.com/rusefi/lua.git
better error messages for wrong tokens
This commit is contained in:
parent
a9dd2c6717
commit
29b7b8e52c
3
lua.stx
3
lua.stx
|
@ -1,6 +1,6 @@
|
||||||
%{
|
%{
|
||||||
/*
|
/*
|
||||||
** $Id: lua.stx,v 1.32 1998/01/12 13:00:51 roberto Exp roberto $
|
** $Id: lua.stx,v 1.33 1998/01/12 13:35:37 roberto Exp roberto $
|
||||||
** Syntax analizer and code generator
|
** Syntax analizer and code generator
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -643,7 +643,6 @@ TProtoFunc *luaY_parser (ZIO *z)
|
||||||
|
|
||||||
%start chunk
|
%start chunk
|
||||||
|
|
||||||
%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