[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Error reporting: the chunk name
- From: Alexander Gladysh <agladysh@...>
- Date: Fri, 20 Nov 2009 13:58:30 +0300
On Fri, Nov 20, 2009 at 02:56, David Given <firstname.lastname@example.org> wrote:
> Matthew Wild wrote:
>> Try prefixing the chunk name you pass with '@', e.g. '@myres'. Worked
>> that one out the hard way :)
> The docs are really, really obscure, but there --- see the definition
> for lua_Debug.source in section 3.8 of the manual.
> TBH I think it would be nice to have this described in the documentation
> for loadstring() and load(). It took me ages to find.
I second that. Found this one the hard way as well.