[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: PROGNAME etc. (5.1w1)
- From: Asko Kauppi <asko.kauppi@...>
- Date: Thu, 2 Sep 2004 19:08:13 +0300
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\".