|
From: John L. <jla...@gm...> - 2006-05-06 07:10:17
|
On 5/6/06, Steve Kieu <ha...@ya...> wrote:
> When I use luac to compile a lua script, is the script use
>
> repeat
> ....
> until condition
>
> luac gives an error like:
>
> `=3D' expected near `i'
> the line error is the line contains until condition
Can you provide a very simple example of code that fails? I haven't
used luac for some time.
> But if run the script directly using wxlua or lua, it is fine.
Strange.
> I downloaded lua-5.1 from lua homepage and try to use luac without proble=
m.
> Of course can not integrate into wxLua as it complain about version
> mismatch.
What version of wxLua are you using? If you use one of the snapshots
from the download page it uses 5.1, the last release 2.6.2 uses 5.0.1.
> Is it a known bug? how can I fix it? At the moment I just do not use repe=
at
> -- until as a work around :-)
I don't think we knew about this before, I prefer while loops...
Regards,
John Labenski
|