DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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

Info Catalog (flex.info.gz) unnamed-faq-65 (flex.info.gz) FAQ (flex.info.gz) unnamed-faq-67
 
 unnamed-faq-66
 ==============
 
 
      To: mc0307@mclink.it
      Cc: gnu@prep.ai.mit.edu
      Subject: Re: [mc0307@mclink.it: Help request]
      In-reply-to: Your message of Fri, 12 Dec 1997 17:57:29 PST.
      Date: Sun, 21 Dec 1997 22:33:37 PST
      From: Vern Paxson <vern>
 
      > This is my definition for float and integer types:
      > . . .
      > NZD          [1-9]
      > ...
      > I've tested my program on other lex version (on UNIX Sun Solaris an HP
      > UNIX) and it work well, so I think that my definitions are correct.
      > There are any differences between Lex and Flex?
 
      There are indeed differences, as discussed in the man page.  The one
      you are probably running into is that when flex expands a name definition,
      it puts parentheses around the expansion, while lex does not.  There's
      an example in the man page of how this can lead to different matching.
      Flex's behavior complies with the POSIX standard (or at least with the
      last POSIX draft I saw).
 
      		Vern
 
Info Catalog (flex.info.gz) unnamed-faq-65 (flex.info.gz) FAQ (flex.info.gz) unnamed-faq-67
automatically generated byinfo2html