Comment recognition in Lex, agai - (nf)
Steven M. Kramer
smk at axiom.UUCP
Fri May 11 14:41:28 AEST 1984
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 at mitre-bedford (MIL)
More information about the Comp.unix.wizards
mailing list