Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site axiom.UUCP Path: utzoo!linus!axiom!smk From: smk@axiom.UUCP (Steven M. Kramer) Newsgroups: net.unix-wizards Subject: Re: Re: Comment recognition in Lex, agai - (nf) Message-ID: <566@axiom.UUCP> Date: Fri, 11-May-84 00:41:28 EDT Article-I.D.: axiom.566 Posted: Fri May 11 00:41:28 1984 Date-Received: Fri, 11-May-84 05:59:42 EDT References: <161@haddock.UUCP> Organization: Axiom Technology, Newton MA Lines: 10 I had used lex a few years ago and needed (actually wanted) to implement comments. I made a special comment state to do it in. Otherwise, if you try to match a comment in 1 rule, large comments will blow away the buffer. I had no trouble in making a separate state for comments. Where's the beef? -- --steve kramer {allegra,genrad,ihnp4,utzoo,philabs,uw-beaver}!linus!axiom!smk (UUCP) linus!axiom!smk@mitre-bedford (MIL)