Macro names imbedded in pp-numbers [repost]

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Nov 18 08:31:04 AEST 1989


In article <15217 at haddock.ima.isc.com> karl at 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.



More information about the Comp.std.c mailing list