Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: v05i053: A "safe" replacement for gets()
Message-ID: <1988Nov22.170953.24489@utzoo.uucp>
Organization: U of Toronto Zoology
References: <674@quintus.UUCP> <117@halcdc.UUCP> <468@auspex.UUCP> <122@halcdc.UUCP>
Date: Tue, 22 Nov 88 17:09:53 GMT

In article <122@halcdc.UUCP> randy@halcdc.UUCP (randy orrison) writes:
>|>Two problems: the space after gets would kill it if it's a macro,
>|
>|Say WHAT?  Works fine on all the compilers I know of.  "Preprocessor"
>|macros don't require that you give the exact same amount of white space
>|in the invocation as you gave in the definition...

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.
-- 
Sendmail is a bug,             |     Henry Spencer at U of Toronto Zoology
not a feature.                 | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
