Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!cvl!umd5!zben From: zben@umd5.UUCP (Ben Cranston) Newsgroups: net.lang.c Subject: Re: using indentation rather than braces Message-ID: <968@umd5.UUCP> Date: Fri, 16-May-86 19:14:10 EDT Article-I.D.: umd5.968 Posted: Fri May 16 19:14:10 1986 Date-Received: Sun, 18-May-86 15:25:38 EDT References: <501@brl-smoke.ARPA> <797@bentley.UUCP> <287@euclid.warwick.UUCP> <301@nbs-amrf.UUCP> Reply-To: zben@umd5.UUCP (Ben Cranston) Organization: U of Md, CSC, College Park, Md Lines: 14 Summary: Makes life difficult for programs that output other programs Forgive me if this is too obvious to mention, but it seems to me that using the indentation information makes life much harder for programs like YACC and LEX that act by creating C source code. Now they have to keep track of what column they are outputting to... I just remember doing some assembly macros that tried to make their expansion obvious by "display"ing the code they were generating to the listing before actually generating it. There was real gore in getting the columns lined up right, and in getting meaningful comments... -- "We're taught to cherish what we have | Ben Cranston by what we have no longer..." | zben@umd2.umd.edu ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben