[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: little problem with bison and C++
From: |
Hans Aberg |
Subject: |
Re: little problem with bison and C++ |
Date: |
Mon, 19 Feb 2001 12:30:07 +0100 |
At 10:39 +0100 2001/02/19, Pascal Courtois wrote:
> I'm running bison 1.28 on GNU Linux i386.
>
> I noticed the parsers generated by bison contain everything to be compiled
>in C++, which works fine. The only thing is when bison is invoked to generate
>a C++ file (with the extension .C ) the header file generated has the
>extensions .C.h instead of .h .
>
> I couldn't find anything about that problem in the bison manual.
>
> May I humbly suggest you to do this minor correction unless I'm wrong
>somewhere.
Actually, I have already not suggested it but made a patch for it: An
option -+ that merely writes a .cc file instead of a .c file.
But Akim Demaille, which is currently working on 1.29, has already too many
things to do with that one, so C++ features will have to be postponed to
the version after that one.
Hans Aberg