diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-02-11 18:56:46 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-02-11 18:56:46 -0200 |
| commit | 29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a (patch) | |
| tree | da77ccad8baa7ed07c64866b573a3f4be63fd941 | |
| parent | a9dd2c67176287741a917db020eb797f62d65040 (diff) | |
| download | lua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.tar.gz lua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.tar.bz2 lua-29b7b8e52cc9ff7ca39869c1aad98a3b7860c09a.zip | |
better error messages for wrong tokens
Diffstat (limited to '')
| -rw-r--r-- | lua.stx | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -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 |
