So I’ve been battling with CPP (the C pre-processor) which we’ve used for DikuMUD zones.
Back in 1991-1997 it behaved differently. It would allow double quoted multi line text without a backslash after each line. So you could write this:
#define north exit[0]
“This room is great.
There’s an exit to the north.”
north to tack_shop2 descr “The Tack Shop”;
Back then this would translate into the following:
#define north exit[0]
“This room is great.
There’s an exit to the north.”
exit[0] to tack_shop2 descr “The Tack Shop”;
But modern cpp’s don’t work like this any longer. While it almost works with the -traditional flag what happens is that the north in the description also gets macro substituted.
So after a lot of back and forth with Ken Perry I decided to adopt PP, which is a small pre-processor. Ken has given me access to his GitHUB for Valhalla so I’ll grab PP out of there, make it compile, and then I’ll include it in the distro to be used in place of cpp.
For anyone interested this is the original source of PP http://www.toughsoft.com/Downloads/Free-Software
