flex: unnamed-faq-85

 
 unnamed-faq-85
 ==============
 
      To: Henric Jungheim <junghelh@pe-nelson.com>
      Subject: Re: flex 2.5.4a
      In-reply-to: Your message of Tue, 27 Oct 1998 16:41:42 PST.
      Date: Tue, 27 Oct 1998 16:50:14 PST
      From: Vern Paxson <vern>
      
      > This brings up a feature request:  How about a command line
      > option to specify the filename when reading from stdin?  That way one
      > doesn't need to create a temporary file in order to get the "#line"
      > directives to make sense.
      
      Use -o combined with -t (per the man page description of -o).
      
      > P.S., Is there any simple way to use non-blocking IO to parse multiple
      > streams?
      
      Simple, no.
      
      One approach might be to return a magic character on EWOULDBLOCK and
      have a rule
      
      	.*<magic-character>	// put back .*, eat magic character
      
      This is off the top of my head, not sure it'll work.
      
      		Vern