Article View: net.bugs.v7
Article #105Re: #line feature in C preprocessor
From: utzoodecvaxdukemcncrlgvaxguy
Date: Sat, 19 Feb 1983 03:41
Date: Sat, 19 Feb 1983 03:41
25 lines
866 bytes
866 bytes
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
Technical Details
Message-ID:
<bnews.rlgvax.1070>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
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 Subject: Re: #line feature in C preprocessor Date: Sat, 19 Feb 1983 03:41:36 +0000 Message-ID: <bnews.rlgvax.1070>