lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



In the new luaconf.h, the PROMPT, PROGNAME etc. are defined as:

	#define PROMPT		"> "
	#define PROMPT2		">> "
	#define PROGNAME	"lua"

Would it be good to wrap these with '#ifndef PROGNAME' and so on.. This would allow external users to define their own strings, but still use the default file for the rest. Personally, I don't want to duplicate the whole of it, but the PROGNAME could be nice to override, just by -DPROGNAME=\"luax\".

-ak