From: utzoo!decvax!duke!mcnc!rlgvax!guy
Newsgroups: net.bugs.v7,net.bugs.4bsd,net.lang.c
Title: Re: #line feature in C preprocessor
Article-I.D.: rlgvax.1070
Posted: Sat Feb 19 03:41:36 1983
Received: Thu Feb 24 02:59:56 1983

References: sentry1.1425

By the way, re cpp: the V7 "cpy.y" has bugs in the actions for the
!, ~, and - rules: they should read $$ = $2
instead of $$ = $1.  The first two are fixed in the 4.1BSD "cpp", and
the third is fixed in the System III "cpp".  For example, the sequence

#if ((-1)*3) == -3
FOO
#else
BAR
#endif

emits

BAR

on the 4.1BSD "cpp", but

FOO

on the System III "cpp".
					Guy Harris
					RLG Corporation
					...!decvax!mcnc!rlgvax!guy