bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.28b (fwd)


From: marc-alexandre autret
Subject: Re: Bison 1.28b (fwd)
Date: Sat, 4 Aug 2001 21:52:18 +0000 (GMT)

According to Hans Aberg:
> 
> At 20:09 +0000 2001/08/04, marc-alexandre autret wrote:
> > Hans: If you want to give a different extension than the grammar file, use
> >  ``-o'' :)
> 
> This does not work, as --output-file Parser.cc will produce files Parser.cc
> and Parser.hh, --output-file Parser.cp will produce files Parser.cp and
> Parser.hp, etc. Why should one be restricted to those combinations?

The interest of this feature is that you will always need similar extensions
between the source and the header and it is automatic here. I have no example 
of the opposite. Of course, If many complaints are reported, this will be
changed but I don't think. 
 
> Besides, this argument could be applied to remove the .yy feature.

I think that this feature is important to differenciate the grammar files
which contain C code or C++ code. As such, .yxx and all its friends must
work.

-- 
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique 



reply via email to

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