Bug in cpp patch posted a few weeks back
Arnold D. Robbins {EUCC}
arnold at emory.UUCP
Tue Jun 24 06:24:44 AEST 1986
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 at emory BITNET: arnold at emoryu1
ARPA: arnold%emory.csnet at 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
More information about the Comp.lang.c
mailing list