Re: classical error but unresolved "syntax error at end of input"

2005-08-10 Thread Hans Aberg
On 9 Aug 2005, at 17:23, soledady wrote: the result of the grammar file (*.y) compilation give me this error: "syntax error at end of input" You do not give much information, such as which Bison version you use. You could try adding ";" after each grammar rule. Perhaps you should make a b

Re: classical error but unresolved "syntax error at end of input"

2005-08-10 Thread soledady
I found the solution, the problem come from a function in the file SuiteTest.c i correct this and now it works but without the function. hope its clear thanks you for your help and your quick answer. bye soledady Le mercredi 10 août 2005 à 11:34 +0200, Hans Aberg a écrit : > On 9 Aug 2005, at

Re: redundant merges for GLR

2005-08-10 Thread Joel E. Denny
On Fri, 29 Jul 2005, Joel E. Denny wrote: > On Tue, 19 Jul 2005, Joel E. Denny wrote: > > > I am attempting to use bison's %glr-parser and %merge to construct parse > > forests. I'm getting duplicate representations of some trees within the > > forest. Both bison 1.875 and 2.0 give the same resu

problem with $$, maybe bug??

2005-08-10 Thread Roberto Mandall
hi there, i´m using last version of bison on windows xp., bison 1.875 i have come up with a problem which is just dirving my crazy, see the code here: function_designator : identifier { dir=BuscarSimb(TablaActual,$1, &veces); $$=malloc(sizeof(struct RecordGCI)); $$->tipo=dir->tipo; $$->texto=mal

Re: problem with $$, maybe bug??

2005-08-10 Thread Hans Aberg
On 10 Aug 2005, at 21:18, Roberto Mandall wrote: hi there, i´m using last version of bison on windows xp., bison 1.875 i have come up with a problem which is just dirving my crazy, see the code here: function_designator : identifier { dir=BuscarSimb(TablaActual,$1, &veces); $$=malloc(sizeof(

problem with $$, maybe bug??

2005-08-10 Thread Javier Ignacio Asenjo Quinteiro
hi there, i´m using last version of bison on windows xp., bison 1.875 i have come up with a problem which is just dirving my crazy, see the code here: function_designator : identifier { dir=BuscarSimb(TablaActual,$1,&veces); $$=malloc(sizeof(struct RecordGCI)); $$->tipo=dir->tipo; $$->texto=malloc(