Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.uucp (T. William Wells) Newsgroups: comp.lang.c Subject: Re: Want a way to strip comments from a Message-ID: <795@twwells.uucp> Date: 25 Mar 89 19:31:10 GMT References: <7150@siemens.UUCP> <9900010@bradley> <4896@cbnews.ATT.COM> <3145@nunki.usc.edu> <9797@megaron.arizona.edu> Reply-To: bill@twwells.UUCP (T. William Wells) Organization: None, Ft. Lauderdale Lines: 13 Summary: Expires: Sender: Followup-To: Distribution: Keywords: In article <9797@megaron.arizona.edu> rupley@arizona.edu (John Rupley) writes: : A Lex source for uncommenting is attached (which I hope does not belie : the remark above about hard to get the logic wrong :-). Try it on a very long comment. You might discover an overflowed lex buffer. On the other hand, this shouldn't be too hard to fix. Just do for the comment what you did for the noncommented text. --- Bill { uunet | novavax } !twwells!bill (BTW, I'm may be looking for a new job sometime in the next few months. If you know of a good one where I can be based in South Florida do send me e-mail.)