Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site emory.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!emory!arnold From: arnold@emory.UUCP (Arnold D. Robbins {EUCC}) Newsgroups: net.lang.c,net.lang.c++,net.sources.bugs Subject: Bug in cpp patch posted a few weeks back Message-ID: <1657@emory.UUCP> Date: Mon, 23-Jun-86 16:24:44 EDT Article-I.D.: emory.1657 Posted: Mon Jun 23 16:24:44 1986 Date-Received: Wed, 25-Jun-86 04:44:48 EDT Distribution: net Organization: Math & Computer Science, Emory University, Atlanta Lines: 23 Xref: watmath net.lang.c:9565 net.lang.c++:254 net.sources.bugs:889 A few weeks back, I posted a set of diffs that patched the 4.2 BSD /lib/cpp source code to implement #elif, and, with the (new) -B option, accept the C++ // style comments. The #elif diffs came from Doug Gwyn at BRL, but were from the System V version, so I had to type them in for the BSD version by hand. As a result, the following bug crept in (reported by mcgill-vision!mouse): > + pperror ( "If-less elif"< (char *) 0, (char *) 0); ^ | bug ------------------------------------+ The "<" should be a ",". It comes from not releasing the SHift key fast enough (:-). Hopefully this hasn't bitten anyone too badly. -- Arnold Robbins CSNET: arnold@emory BITNET: arnold@emoryu1 ARPA: arnold%emory.csnet@csnet-relay.arpa UUCP: { akgua, decvax, gatech, sb1, sb6, sunatl }!emory!arnold "All this digital stuff is just a fad. Analog is the way to go." -- William M. Robbins, 1984