[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 10:41:14 -0500 |
Hans Aberg wrote:
[...]
> Bison reserves the values 0 (initial/end "$") and 1 ("error"), but the
> other non-character tokens have values > 256, so one knows that tokens in
[...]
Bison 1.28 uses 256 for error, not 1. And it uses -1 for end.
0 is reserved, but one can define a NUL token and return that
from flex via a rule like:
\0 { return NUL; }
Obviously, that rule has to appear before the catch-all rule.
- Re: why are locations dictated by bison?, (continued)
- Re: why are locations dictated by bison?, John W. Millaway, 2002/01/12
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/13
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/14
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/14
- Re: why are locations dictated by bison?, John W. Millaway, 2002/01/14
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/15
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/14
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/15
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/15
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/15
- Re: why are locations dictated by bison?,
Bruce Lilly <=
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/16
- Re: why are locations dictated by bison?, Bruce Lilly, 2002/01/16
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/17
- Re: why are locations dictated by bison?, Bruce Lilly, 2002/01/17
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/18
- Re: why are locations dictated by bison?, Bruce Lilly, 2002/01/18
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/18
- common per-token info, John W. Millaway, 2002/01/07
- Re: common per-token info, Hans Aberg, 2002/01/07
- Re: common per-token info, Hans Aberg, 2002/01/09