🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2668

Re: The Preprocessor and tokens

#2668
From: Karl Heuer
Date: Wed, 03 Apr 1991 04:16
12 lines
1273 bytes
In article <1991Mar29.073102.1136@tkou02.enet.dec.com> diamond@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@ima.isc.com or uunet!ima!karl), The Walking Lint
Technical Details
Message-ID: <1991Apr03.041613.7836@ima.isc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!dirtydog!karl
References: <3137@wyse.wyse.com> <1991Mar27.033525.21697@tkou02.enet.dec.com> <3140@wyse.wyse.com> <1991Mar29.073102.1136@tkou02.enet.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!dirtydog!karl
From: karl@ima.isc.com (Karl Heuer)
Newsgroups: comp.std.c
Subject: Re: The Preprocessor and tokens
Keywords: cpp
Message-ID: <1991Apr03.041613.7836@ima.isc.com>
Date: 3 Apr 91 04:16:13 GMT
References: <3137@wyse.wyse.com> <1991Mar27.033525.21697@tkou02.enet.dec.com> <3140@wyse.wyse.com> <1991Mar29.073102.1136@tkou02.enet.dec.com>
Sender: usenet@ima.isc.com
Reply-To: karl@ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Cambridge, MA 02138-5302
Lines: 12