bug-bison
[Top][All Lists]
Advanced

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

Re: Locations and mid-rule actions


From: Paul Eggert
Subject: Re: Locations and mid-rule actions
Date: Sun, 19 Dec 2004 19:56:39 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Frank Heckenbach <address@hidden> writes:

> Now I see that the current behaviour can also be useful. Since the
> location of the mid-rule action will be a part of the final
> location, it seems reasonable to leave it empty.

Also, it is more consistent with the POSIX-required behavior that a
mid-rule action be (roughly) equivalent to an action on an empty rule.
Empty rules have empty locations, so....

> it might not hurt if the mid-rule action has a location that spans
> the previous symbols.

Why would that help?  If a mid-rule action wants the location of a
previous symbol (say, symbol number 3 for that rule), can't it get it
with address@hidden'?




reply via email to

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