🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #927

Re: Macro names imbedded in pp-numbers [repost]

#927
From: Doug Gwyn
Date: Fri, 17 Nov 1989 21:31
7 lines
942 bytes
In article <15217@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes:
-We are now in the realm of undefined behavior.  An ANSI-conforming compiler is
-required to issue a diagnostic, but is then permitted to guess what the user
-meant and continue processing the program.  In particular, it should be legal
-for it to consider "getchar" for macro replacement.

That's a useful point that has application in other areas as well.
Technical Details
Message-ID: <11639@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!aplcen!haven!adm!smoke!gwyn
References: <11134@riks.csl.sony.co.jp> <15217@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Macro names imbedded in pp-numbers [repost]
Message-ID: <11639@smoke.BRL.MIL>
Date: 17 Nov 89 21:31:04 GMT
Article-I.D.: smoke.11639
References: <11134@riks.csl.sony.co.jp> <15217@haddock.ima.isc.com>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 7