RE: Problem in grammar

2011-02-21 Thread Godeau Julien
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 {

RE: Problem in grammar

2011-02-21 Thread Joel E. Denny
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

RE: Problem in grammar

2011-02-20 Thread Godeau Julien
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_

Re: Problem in grammar

2011-02-20 Thread Joel E. Denny
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

Re: Problem in grammar

2011-02-20 Thread Luca
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