aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-24 15:04:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-24 15:04:17 -0300
commit677313da32d58b418c15dc5f4a6ff435fb63d365 (patch)
tree418e702f7479e051be69b41fd133b13d846834d2 /lcode.c
parentef62b340e0a6b7b18931000dcbb19c4703bfe0e8 (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index 8577824b..e471ffd1 100644
--- a/lcode.c
+++ b/lcode.c
@@ -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
21void luaK_error (LexState *ls, const char *msg) { 21void 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