better error messages for wrong tokens

This commit is contained in:
Roberto Ierusalimschy 1998-02-11 18:56:46 -02:00
parent a9dd2c6717
commit 29b7b8e52c
1 changed files with 1 additions and 2 deletions

View File

@ -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