Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: #defines with parameters [was :Re: v05i053: A "safe" ... ]
Message-ID: <1988Nov27.010155.29222@utzoo.uucp>
Organization: U of Toronto Zoology
References: <674@quintus.UUCP> <117@halcdc.UUCP> <468@auspex.UUCP> <122@halcdc.UUCP> <1988Nov22.170953.24489@utzoo.uucp> <264@aber-cs.UUCP>
Date: Sun, 27 Nov 88 01:01:55 GMT

In article <264@aber-cs.UUCP> pcg@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@zoo.toronto.edu
