Path: 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 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.