n@gnu.org
Objet : RE: Problem in grammar
On Mon, 21 Feb 2011, Godeau Julien wrote:
> Thanks for your answer.
> You're right, I wanted to simplify the thing and I forgot to put the
> 'SIGNAL' token in signal definition:
>
> signal : SIGNAL {
On Mon, 21 Feb 2011, Godeau Julien wrote:
> Thanks for your answer.
> You're right, I wanted to simplify the thing and I forgot to put the
> 'SIGNAL' token in signal definition:
>
> signal : SIGNAL { $$ = $2; }
> "My_other_signal" is seen as a SIGNAL token, being recogn
r 2011 16:06
À : Godeau Julien
Cc : help-bison@gnu.org
Objet : Re: Problem in grammar
On Tue, 15 Feb 2011, Godeau Julien wrote:
> My_var = 3. + 1.
>
> My_signal = 4. + My_other_signal
>
> Mysignal = My_other_signal + 4.
>
>
>
> Let's assume that My_var and My_
On Tue, 15 Feb 2011, Godeau Julien wrote:
> My_var = 3. + 1.
>
> My_signal = 4. + My_other_signal
>
> Mysignal = My_other_signal + 4.
>
>
>
> Let's assume that My_var and My_signal are new identifiers, my problem
> is that in the second example the command "Mysignal = 4." is recognized
> by
Il 15/02/2011 12.06, Godeau Julien ha scritto:
Hello,
I have a problem with my grammar that I don't manage to solve and a
little help would really be greatful :o)
Here is the situation : I use Bison for a command interpreter. I deal
with variables (float values) and signals (object that contain