bug-bison
[Top][All Lists]
Advanced

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

Re: GLR: modification of $1


From: Hans Aberg
Subject: Re: GLR: modification of $1
Date: Sun, 5 Oct 2003 20:34:50 +0200

At 03:08 +0200 2003/10/05, Frank Heckenbach wrote:
>> So this suggests that one, at least for now, should only admit a rule
>> midaction to assign to its $$ value, and it can only use the $n values
>> referring to the variables/tokens/midactions before it in the rule. If the
>> $n values can be implemented as const values, that seems to be an advantage
>> under this model.
>
>I'd second this -- and suggest that it be clearly stated in the
>documentation (either for GLR or in general, whichever is the actual
>intention).

It should be clearly stated in the manual that $k cannot be changed (or
rather, attempting to do so gives a result that is undefined).

  Hans Aberg






reply via email to

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