From 677313da32d58b418c15dc5f4a6ff435fb63d365 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 May 2000 15:04:17 -0300 Subject: bug: record-constructor starting with an upvalue name gets an error --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index 8577824b..e471ffd1 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 1.31 2000/05/22 18:44:46 roberto Exp roberto $ +** $Id: lcode.c,v 1.32 2000/05/24 13:54:49 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -19,7 +19,7 @@ void luaK_error (LexState *ls, const char *msg) { - luaX_error(ls, msg, ls->token); + luaX_error(ls, msg, ls->t.token); } -- cgit v1.2.3-55-g6feb