bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.30e


From: Hans Aberg
Subject: Re: Bison 1.30e
Date: Wed, 28 Nov 2001 14:49:28 +0100

At 11:31 +0100 2001/11/28, Akim Demaille wrote:
>Let me say it again.  Please, show what you call incorrect.  Send your
>grammar on the list, send the top of .output where the line numbers
>are written, and tell me *where* it is wrong.  It doesn't look wrong
>to me.  I just need to be pointed out to what you call wrong (given
>that there is plenty of room for interpretation in the concept of `the
>line number of a rule'.

As you point out, the interpretation of `the line number of a rule' is
ambiguous:

Right now, it seems that you have set the line number of an implicit @n
rule to the starting line of the rule it is a part of, and then the numbers
seems to be OK. Whether this is right or not depends, I figure, on what
this array should be used for.

I leave the interpretation of this to you.

I think that the Bison manual should try to explain as exactly as possible
how the numbers in this array yyrline[] are defined, in order to avoid
future confusion.

  Hans Aberg





reply via email to

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