Redefining keywords (is #define

jim at ISM780B.UUCP jim at ISM780B.UUCP
Thu Feb 7 15:49:35 AEST 1985


One amusing thing about Reiser's cpp is that preprocessor keywords
can be defined to or from.  Thus

#define spew include
#spew "crap"
#define if include
#if "crud"

yields

3: Can't find include file crap
5: Can't find include file crud

-- Jim Balter, INTERACTIVE Systems (ima!jim)



More information about the Comp.lang.c mailing list