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
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
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);