The Preprocessor and tokens
Karl Heuer
karl at ima.isc.com
Wed Apr 3 14:16:13 AEST 1991
In article <1991Mar29.073102.1136 at tkou02.enet.dec.com> diamond at jit345.enet@tkou02.enet.dec.com (Norman Diamond) writes:
>The L"..." syntax was (to the best of my knowledge) an ANSI invention and not
>previously used. At least this one did not break working programs.
Actually, it did (potentially, if not in practice). Classic C and ANSI C
assign different meanings to the program fragment
#define L -
int x = L'\1';
I pointed out this out during one of the public review periods, which is why
the feature is now noted as a QUIET CHANGE in the Rationale document.
Karl W. Z. Heuer (karl at ima.isc.com or uunet!ima!karl), The Walking Lint
More information about the Comp.std.c
mailing list