Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ig!arizona!rupley From: rupley@arizona.edu (John Rupley) Newsgroups: comp.lang.c Subject: Re: C comment stripper Summary: It pukes.... Message-ID: <9864@megaron.arizona.edu> Date: 24 Mar 89 00:57:34 GMT References: <1842@viper.Lynx.MN.Org> <9543@smoke.BRL.MIL> <1453@wpi.wpi.edu> Organization: U of Arizona CS Dept, Tucson Lines: 20 In article <1453@wpi.wpi.edu>, lfoard@wpi.wpi.edu (Lawrence C Foard) writes: > I just made this C comment stripper, I tried it on it self and it works > ok. If any one finds code it pukes on tell me (there is probably still > something I missed). It pukes ... try: /***/ main() {printf("hi there\n");} /* */ Score, anyone? (recent postings tested on K&R-I-syntax code) sed 1/1 correct Lex 2/2 correct C 2/2 wrong Hmmm. John Rupley rupley!local@megaron.arizona.edu