🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by utzoodecvaxdukemcncrlgvaxguy Sat, 19 Feb 1983 03:41
Re: #line feature in C preprocessor
#105
Author: utzoodecvaxdukemcncrlgvaxguy
Date: Sat, 19 Feb 1983 03:41
25 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads