[Top][All Lists]

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

Re: why are locations dictated by bison?

From: Bruce Lilly
Subject: Re: why are locations dictated by bison?
Date: Wed, 16 Jan 2002 22:28:04 -0500

Hans Aberg wrote:
> thus freeing up the values 0 as well, but I am not sure one can do so: I
> think the Bison manual does not tell that the parser actually accepts all
> <= 0 values,  and does not mention the YYEOF macro, but instead says that
> the lexer should return 0 at the end. So a change will probably break some
> code.

The lexical analyzer returns 0 at end of input for
compatibility with lex (which explicitly did not
handle ASCII NUL input).

reply via email to

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