aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-02-11 18:56:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-02-11 18:56:46 -0200
commit29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a (patch)
treeda77ccad8baa7ed07c64866b573a3f4be63fd941 /lua.stx
parenta9dd2c67176287741a917db020eb797f62d65040 (diff)
downloadlua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.tar.gz
lua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.tar.bz2
lua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.zip
better error messages for wrong tokens
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua.stx b/lua.stx
index 0208a638..f99ccae6 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2/* 2/*
3** $Id: lua.stx,v 1.32 1998/01/12 13:00:51 roberto Exp roberto $ 3** $Id: lua.stx,v 1.33 1998/01/12 13:35:37 roberto Exp roberto $
4** Syntax analizer and code generator 4** Syntax analizer and code generator
5** See Copyright Notice in lua.h 5** See Copyright Notice in lua.h
6*/ 6*/
@@ -643,7 +643,6 @@ TProtoFunc *luaY_parser (ZIO *z)
643 643
644%start chunk 644%start chunk
645 645
646%token WRONGTOKEN
647%token NIL 646%token NIL
648%token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END 647%token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
649%token RETURN 648%token RETURN