#defines with parameters [was :Re: v05i053: A "safe" ... ]
Henry Spencer
henry at utzoo.uucp
Sun Nov 27 11:01:55 AEST 1988
In article <264 at aber-cs.UUCP> pcg at cs.aber.ac.uk (Piercarlo Grandi) writes:
>> Definitions of parameterized macros ("function-like" macros in
>> X3J11speak) have always been required to have the "(" immediately
>> following the identifier. The May draft standard requires that in
>> the invocation, the "(" must be "the next preprocessor token",
>> which basically means that white space there is okay.
>
>...Obviously there must me a way to distinguish between macro bodies that
>begin with a "(" and macro definitions with a parameter list, is there
>one ?
Please re-read what I said; the *definition* of a macro and an *invocation*
of said macro are entirely different things.
--
Sendmail is a bug, | Henry Spencer at U of Toronto Zoology
not a feature. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list