lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Sonntag, April 21, 2002, at 06:14 , lua-l@yahoogroups.com wrote:

Strange. I added the extra line and did a make clean, and then a make, but
 this patch doesn't seem to make any difference.

$ bin/lua
Lua 4.1 (work4)  Copyright (C) 1994-2001 TeCGraf, PUC-Rio
local a,b  ; a,b=1,sin(3) ; print(a,b)
0.05233595624294383     0.05233595624294383
local a,b,c ; a,b,c=1,2,sin(3) ; print(a,b,c)
2       0.05233595624294383     0.05233595624294383


Has anyone else tried this patch?

- Peter


Yes and it worked out perfect.

./lua
Lua 4.1 (work4)  Copyright (C) 1994-2001 TeCGraf, PUC-Rio
> local a,b
> a,b=1,sin(3)
> print(a,b)
1       0.05233595624294383
> local a,b,c ; a,b,c=1,2,sin(3) ; print(a,b,c)
1       2       0.05233595624294383
>

Maybe you inserted the line in the wrong line-number?
I inserted it on line 868 in the original file.

dom

-- http://www.DasGenie.com/ --
AIM: DasGenieDotCom - ICQ: 22369156