Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!eecae!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: Want a way to strip comments from a Message-ID: <16492@mimsy.UUCP> Date: 22 Mar 89 15:56:20 GMT References: <7150@siemens.UUCP> <9900010@bradley> <4896@cbnews.ATT.COM> <16078@cup.portal.com> Distribution: na Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 11 In article <16078@cup.portal.com> Tim_CDC_Roberts@cup.portal.com writes: >When scanning the result of preprocessing a nontrivial C program with >many include files, one finds dozens (in some cases hundreds) of blank >lines. ... Why not eliminate them and issue a #line instead? Why bother? Typically there are at most a few tens in a row. It is probably faster to count 20 blank lines than to process one `#line 1234' directive. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris