Unified · Split
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.32 1999/05/11 20:29:19 roberto Exp $ | 2 | ** $Id: lua.h,v 1.32a 1999/05/11 20:29:19 roberto Exp $ |
| 3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
| 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
| 5 | ** e-mail: lua@tecgraf.puc-rio.br | 5 | ** e-mail: lua@tecgraf.puc-rio.br |
| @@ -11,7 +11,7 @@ · 5 unmodified lines | |||
| 11 | #ifndef lua_h | 11 | #ifndef lua_h |
| 12 | #define lua_h | 12 | #define lua_h |
| 13 | 13 | ||
| 14 | #define LUA_VERSION "Lua 3.2" | 14 | #define LUA_VERSION "Lua 3.2.1" |
| 15 | #define LUA_COPYRIGHT "Copyright (C) 1994-1999 TeCGraf, PUC-Rio" | 15 | #define LUA_COPYRIGHT "Copyright (C) 1994-1999 TeCGraf, PUC-Rio" |
| 16 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" | 16 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" |
| 17 | 17 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lparser.c,v 1.37 1999/06/17 17:04:03 roberto Exp $ | 2 | ** $Id: lparser.c,v 1.37a 1999/06/17 17:04:03 roberto Exp $ |
| 3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -665,7 +665,8 @@ static int checkname (LexState *ls) { · 659 unmodified lines | |||
| 665 | 665 | ||
| 666 | 666 | ||
| 667 | static TaggedString *str_checkname (LexState *ls) { | 667 | static TaggedString *str_checkname (LexState *ls) { |
| 668 | return tsvalue(&ls->fs->f->consts[checkname(ls)]); | 668 | int i = checkname(ls); /* this call may realloc `f->consts' */ |
| 669 | return tsvalue(&ls->fs->f->consts[i]); | ||
| 669 | } | 670 | } |
| 670 | 671 | ||
| 671 | 672 | ||