We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi All. Imagine a function that looks like this:
DEFINED_SYMBOL1 type FnName(args) DEFINED_SYMBOL2 { ...; }
type FnName(args) { ...; }
#pragma NOAREGS type FnName(args) reentrant { ...; }
#define DEFINED_SYMBOL2
>#define DEFINED_SYMBOL2 reentrant
#define DEFINED_SYMBOL1 #pragma NOAREGS
One C rule you must obey is that you can't have a pre-proc. directive in a pre-proc. directive. E.g.
#define ILLEGAL #pragma
#define STRINGER(x) #x #define STRING_CAT(x, y) STRINGER(x) ## STRINGER(y)