DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(flex.info.gz) unnamed-faq-100

Info Catalog (flex.info.gz) unnamed-faq-99 (flex.info.gz) FAQ (flex.info.gz) unnamed-faq-101
 
 unnamed-faq-100
 ===============
 
 
      To: Martin Gallwey <gallweym@hyperion.moe.ul.ie>
      Subject: Re: Flex, and self referencing rules
      In-reply-to: Your message of Sun, 20 Feb 2000 01:01:21 PST.
      Date: Sat, 19 Feb 2000 18:33:16 PST
      From: Vern Paxson <vern>
 
      > However, I do not use unput anywhere. I do use self-referencing
      > rules like this:
      >
      > UnaryExpr               ({UnionExpr})|("-"{UnaryExpr})
 
      You can't do this - flex is *not* a parser like yacc (which does indeed
      allow recursion), it is a scanner that's confined to regular expressions.
 
      		Vern
 
Info Catalog (flex.info.gz) unnamed-faq-99 (flex.info.gz) FAQ (flex.info.gz) unnamed-faq-101
automatically generated byinfo2html