[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lua.c & path setup
- From: David Given <dg@...>
- Date: Tue, 30 Nov 2004 12:40:37 +0000
(You can tell that today is a Lua day, can't you...)
Does anyone know why the lua.c command line interpreter is set up to call
do_path (which sets up the plugin loading paths) *after* it executes the
script you tell it to?
This is leading me to the bizarre situation where my plugins work if I run lua
and load them manually, but don't work if I try to run a script on disk.
Which is less than useful.
This is all fixable by reversing the order of two lines in pmain, but there
must be some reason why it was done that way...
+- David Given --McQ-+ "I don't like the thought of her hearing what I'm
| email@example.com | thinking." "*No-one* likes the thought of hearing
| (firstname.lastname@example.org) | what you're thinking." --- Firefly, _Objects in
+- www.cowlark.com --+ Space_