Re: a bug in Lua4a table constructor
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: a bug in Lua4a table constructor
- From: Edgar Toernig <froese@...>
- Date: 2000年6月08日 04:51:13 +0200
Hi,
Yutaka Ueno wrote:
>
> d=hbox{
> button{ label="ok"},
> button{ label="cancel"} --> error: attempt to call a table value.
> }
>
I think, this is the right patch:
--- lparser.c.orig Thu Jun 8 04:47:09 2000
+++ lparser.c Thu Jun 8 04:47:31 2000
@@ -652,7 +652,7 @@
cd->k = 1; /* record */
}
else {
- luaK_tostack(ls, &v, 0);
+ luaK_tostack(ls, &v, 1);
cd->n = listfields(ls);
cd->k = 0; /* list */
}
Ciao, ET.