Re: Using declaration for a namespace name ?
On Fri, 2012-06-22, Rui Maciel wrote:
> Timothy Madden wrote:
>> I know my #include inside a namespace is a bad idea, but flex has no
>> namespaces for its C++ interface, so the bad idea is all I can try to
>> get it.
> Why not file a bug report describing your problem? This appears to be an
> important issue, which might affect a considerable number of users, and may
> not be that hard to implement.
Also note, the flex manual documents the C++ generator as experimental:
*IMPORTANT*: the present form of the scanning class is
_experimental_ and may change considerably between major releases.
Last time I checked (which may be ten years ago or so) the manual said
the same thing. I got the impression that someone, in the 1980s or
early 1990s, thought it would be neat to try OOP ideas in flex, and
that code is still there, with minimal maintenance and few users.
That time I decided to use the C code generator instead and
encapsulate it myself.
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .