[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "require" stack bug?
- From: Mike Pall <mikelu-0605@...>
- Date: Tue, 2 May 2006 13:17:41 +0200
Hi,
Rob Shaw wrote:
> The reason for the crash is that the stack is empty when called by
> loadlib(), but has one entry ("array") when called by require().
> [...]
> but I think this counts as a bug. Do I get a reward?
Nope, no cigar. Check the online manual:
http://www.lua.org/manual/5.1/manual.html#pdf-require
... Once a loader is found, require calls the loader with a
single argument, modname. ...
Bye,
Mike