[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Renaming parser file
From: |
Frans Englich |
Subject: |
Re: Renaming parser file |
Date: |
Mon, 31 Jul 2006 10:23:20 +0000 |
User-agent: |
KMail/1.8.50 |
On Sunday 30 July 2006 16:30, Joel E. Denny wrote:
> On Sat, 29 Jul 2006, Frans Englich wrote:
> > The sed calls remove the defines for the YYTOKENTYPE so I can use the
> > enum without trouble.(yytokentype).
>
> This is fixed in CVS, so you should see it in Bison 2.4.
Nice!
> > Can I do these renames with bison directives? I would prefer if my .ypp
> > file was completely self contained and that I didn't have to do any
> > post-processing.
>
> command-line flags: -o and --defines
Yeah, still don't see how it would be possible to call the output files
QueryTransformer.cpp/QueryTransformer.h. Specifying -o QueryTransformer.cpp
and --defines leads to QueryTransformer.cpp/QueryTransformer.hpp.
Cheers,
Frans