context-independent macros

Brandon Allbery bsa at ncoast.UUCP
Wed Feb 13 06:24:29 AEST 1985


The problem with

#define mac(args) (st1, st2, ..., stn)

is that any true C statement (as opposed to expression -- I am talking
about if, while, for, break, continue, return, do, ...) will produce
a syntax error.

Brandon (bsa at ncoast.UUCP)
-- 
Brandon Allbery, decvax!cwruecmp!ncoast!bsa, "ncoast!bsa"@case.csnet (etc.)
6504 Chestnut Road, Independence, Ohio 44131 +1 216 524 1416 (or what have you)



More information about the Comp.lang.c mailing list