mirror of
https://github.com/lua/lua
synced 2024-11-26 14:51:21 +03:00
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
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -643,7 +643,6 @@ TProtoFunc *luaY_parser (ZIO *z)
|
||||
|
||||
%start chunk
|
||||
|
||||
%token WRONGTOKEN
|
||||
%token NIL
|
||||
%token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
|
||||
%token RETURN
|
||||
|
Loading…
Reference in New Issue
Block a user