[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: probable error
From: |
Joel E. Denny |
Subject: |
Re: probable error |
Date: |
Mon, 24 Jan 2011 22:07:06 -0500 (EST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Thu, 13 Jan 2011, Angelo Borsotti wrote:
> I was having a look to the Bison sources, in particular to gram.h, where the
> internal
> representation of the grammar is described. This file tells that the array
> RULES
> holds one element for each rule, starting at index 1, which is that of an
> enclosing
> rule added automatically by Bison. Index 0 is unused.
> However, in file gram.c, grammar_dump visits that array from index 0
> (included).
> Is this an error?
No. That documentation means to describe rule numbers when stored as item
numbers. It does not mean to describe indices of the rules array.
- probable error, Angelo Borsotti, 2011/01/13
- Re: probable error,
Joel E. Denny <=