Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!decwrl!hplabs!felix!trwrb!sdcrdcf!ism780c!tim From: tim@ism780c.UUCP (Tim Smith) Newsgroups: comp.lang.c Subject: Re: #define CTRL(x) followup Message-ID: <4744@ism780c.UUCP> Date: Mon, 1-Dec-86 20:54:17 EST Article-I.D.: ism780c.4744 Posted: Mon Dec 1 20:54:17 1986 Date-Received: Fri, 5-Dec-86 00:56:32 EST References: <7136@elsie.UUCP> <779@valid.UUCP> <5396@brl-smoke.ARPA> <560@mcgill-vision.UUCP> Reply-To: tim@ism780c.UUCP (Tim Smith) Organization: Interactive Systems Corp., Santa Monica, CA Lines: 20 K&R clearly allow the Reiser cpp behaviour. When they say macro substitution does not occur in quoted strings, they must mean C quoted strings ( since those are the only quoted strings that have been defined ). K&R state that cpp has a syntax independent from the rest of C. Thus, there is no problem with something like #define foo(X) "this is X" because "this is X" is not a quoted string. It is a token string, where token is defined by cpp. Note that this is not portable, because cpp does not have to work this way. It is just not illegal for it to work this way. -- emordnilapregnolanalpanama Tim Smith USENET: sdcrdcf!ism780c!tim Compuserve: 72257,3706 Delphi or GEnie: mnementh