bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question: Bison and C++


From: Hans Aberg
Subject: Re: Question: Bison and C++
Date: Fri, 10 Aug 2001 13:27:36 +0200

At 12:29 +0200 2001/08/10, Albrecht Fritzsche wrote:
>as a Bison newbie I'm trying to use Bison inside C++ classes.

I simply compile the C files that Bison produces as C++. This does not give
a full wrap of the parser inside a class, but suffices for my need. I then
wrap this up in a C++ class, even though strictly speaking the parser isn't
pure which would cause problems if I call more than one copy at once.

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]