Article View: comp.std.c
Article #89Re: Is "#define __ foo" legal?
From: Henry Spencer
Date: Wed, 05 Aug 1992 22:29
Date: Wed, 05 Aug 1992 22:29
9 lines
874 bytes
874 bytes
In article <JET.92Aug5151555@win30.nas.nasa.gov> jet@win30.nas.nasa.gov (J. Eric Townsend) writes: >I checked K&R + ansi and they say "#define identifier ... ". Does >that specificially mean that the first token after a define must be a >valid identifier? (I'm going to assume that it does.) Yes... but `__' is a valid identifier. Sounds like somebody goofed. -- There is nothing wrong with making | Henry Spencer @ U of Toronto Zoology mistakes, but... make *new* ones. -D.Sim| henry@zoo.toronto.edu utzoo!henry
Technical Details
Message-ID:
<BsJ7tx.80z@zoo.toronto.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!utcsri!utzoo!henryReferences:
<JET.92Aug5151555@win30.nas.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!utcsri!utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Newsgroups: comp.std.c Subject: Re: Is "#define __ foo" legal? Message-ID: <BsJ7tx.80z@zoo.toronto.edu> Date: 5 Aug 92 22:29:55 GMT References: <JET.92Aug5151555@win30.nas.nasa.gov> Organization: U of Toronto Zoology Lines: 9