guy (02/19/83)
References: sentry1.1425 By the way, re cpp: the V7 "cpy.y" has bugs in the actions for the !<number>, ~<number>, and -<number> rules: they should read $$ = <op>$2 instead of $$ = <op>$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