bison-patches
[Top][All Lists]
Advanced

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

probable error


From: Angelo Borsotti
Subject: probable error
Date: Thu, 13 Jan 2011 10:44:28 +0100

Hello,

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?

Thank you
-Angelo Borsotti


reply via email to

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