help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Lexx & Yacc


From: Hans Aberg
Subject: Re: Question about Lexx & Yacc
Date: Fri, 12 Jan 2001 20:04:11 +0100

At 15:01 +0100 1-01-12, Akim Demaille wrote:
>| -- Note: Your hookup is somewhat unusual: Bison stops reading yylex when it
>| returns a value <= 0, so you could let Flex have a line
>| <<EOF>>  { return EOF; }
>
>I believe Flex does the proper thing without this rule too.

I forgot to mention that Flex has some default rules, and perhaps this is
one of them (check the Flex manual). It does not hurt to write out what one
wants, though.

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]