Browse Source

better error messages for wrong tokens

Roberto Ierusalimschy 27 years ago
parent
commit
29b7b8e52c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lua.stx

+ 1 - 2
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