Le 21 août 06 à 20:42, Joel E. Denny a écrit :
On Sun, 20 Aug 2006, Frans Englich wrote:
Any chance that %defines can be changed to also allow the name to be
explicitly specified?
I'm not sure why %defines and -d and are different from --defines, -o,
--output, and %output. Reading the -d a
On Sun, 20 Aug 2006, Frans Englich wrote:
> Any chance that %defines can be changed to also allow the name to be
> explicitly specified?
I'm not sure why %defines and -d and are different from --defines, -o,
--output, and %output. Reading the -d and --defines documentation makes
it seem inten
On Monday 31 July 2006 16:19, Joel E. Denny wrote:
> On Mon, 31 Jul 2006, Frans Englich wrote:
> > 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.
On Mon, 31 Jul 2006, Frans Englich wrote:
> 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.
info bison and search for --defin
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 re
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.
> Can I do these renames with bison directives? I would prefer if my .ypp file
> was
On Saturday 29 July 2006 22:52, Satya wrote:
> > 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.
> >
> > There is %file-prefix, but I don't see how it helps me since I don't want
Hello all,
As can be seen, I do a fair bit of post processing on my parser:
parser:
cd $(srcdir)
bison QueryTransformParser.ypp
mv QueryTransformParser.tab.cpp QueryTransformParser.cpp
mv QueryTransformParser.tab.hpp QueryTransformParser.h
sed -i -e 's/#d