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

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 > perf

Re: Parse Tree using Bison

2012-01-11 Thread Hans Aberg
On 11 Jan 2012, at 01:54, Philip Herron wrote: > The bison manual has some good basic examples if i recall. ... > Read on here > http://www.gnu.org/software/bison/manual/html_node/Infix-Calc.html#Infix-Calc The C++ example is good, too. It shows how to generate error messages. http://www.gnu.org/