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-11 Thread Roberto Mandall
Yup, that was the problem, thank you very much Hans! Hans Aberg escribió: 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

bison 2.0 for win?

2005-08-11 Thread Roberto Mandall
hi rtehre, does anyone know somewhere where i could dl bsion 2.0 for windows, the binaries i mean. thx! __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___

help with an if rule!

2005-08-14 Thread Roberto Mandall
hi there, i have these rules for a pascal comp: open_if_statement : IF boolean_expression THEN statement |IF boolean_expression THEN closed_statement ELSE open_statement; closed_if_statement : IF boolean_expression THEN closed_statement ELSE closed_statement; i want to add some

Re: help with an if rule!

2005-08-14 Thread Roberto Mandall
)] $default reduce using rule 38 (statement) @13 go to state 162 @14 go to state 163 can any1 plz tell me what am i doing wrong? i do really need those semantic rules after the "THEN closed_statement" Hans Aberg escribió: On 14 Aug 2005, at 18:53, Roberto Man