[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: got segmentation fault in lvm.c: 727, lua 5.1.4 with patchs
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 17 Nov 2011 12:31:17 -0200
> On Wed, Nov 16, 2011 at 11:07 PM, 文曦畅 <wenxichang@163.com> wrote:
> > (function ()
> > local localfunc = ...
> >
> > globalfunc = ...
> > end)()
>
> This is not valid Lua code.
Besides, the other code seems to be wrong too (although valid):
(dofile(file)) (); -- load another lua file and execute
Maybe it should be 'loadfile'? (But then it does not segfault in
my machine...)
-- Roberto