Re: bison doesn't parse my include file

2012-01-11 Thread Akim Demaille
Le 10 janv. 2012 à 01:02, Juergen Schumacher a écrit : sorry for bothering anybody, Hi Juergen, You're not bothering anybody :) i am trying to c++ parse an include file with flex 2.5.35 and bison 2.3 on a mac os x snow leopard installation - everything without include file works

Re: bison doesn't parse my include file

2012-01-11 Thread Juergen Schumacher
dear akim, this was the decisive hint: It looks like a bad idea to me to use a local variable fin in a scanner action, since you want the stream to survive the handling of this pattern. thank you 1 times. regards juergen Am 11.01.2012 um 15:43 schrieb Akim Demaille: Le 10

bison doesn't parse my include file

2012-01-10 Thread Juergen Schumacher
sorry for bothering anybody, i am trying to c++ parse an include file with flex 2.5.35 and bison 2.3 on a mac os x snow leopard installation - everything without include file works perfectly. my latest attempt was: I|i BEGIN(incl); incl[ \t]* incl[^ \t\n]+ { printf(yytext);