diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-24 15:04:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-24 15:04:17 -0300 |
commit | 677313da32d58b418c15dc5f4a6ff435fb63d365 (patch) | |
tree | 418e702f7479e051be69b41fd133b13d846834d2 /lcode.c | |
parent | ef62b340e0a6b7b18931000dcbb19c4703bfe0e8 (diff) | |
download | lua-677313da32d58b418c15dc5f4a6ff435fb63d365.tar.gz lua-677313da32d58b418c15dc5f4a6ff435fb63d365.tar.bz2 lua-677313da32d58b418c15dc5f4a6ff435fb63d365.zip |
bug: record-constructor starting with an upvalue name gets an error
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 1.31 2000/05/22 18:44:46 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.32 2000/05/24 13:54:49 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | void luaK_error (LexState *ls, const char *msg) { | 21 | void luaK_error (LexState *ls, const char *msg) { |
22 | luaX_error(ls, msg, ls->token); | 22 | luaX_error(ls, msg, ls->t.token); |
23 | } | 23 | } |
24 | 24 | ||
25 | 25 | ||