[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Joel E. Denny
Sun, 30 Sep 2007 02:51:35 -0400 (EDT)
On Sun, 30 Sep 2007, Akim Demaille wrote:
> Le 30 sept. 07 à 03:03, Joel E. Denny a écrit :
> > It seems convenient to be able to write scripts such as:
> > bison --report=all --xml test.y
> > xsltproc `bison --print-datadir`/xslt/xml2xhtml.xsl test.xml > test.html
> > I wrote the following patch to implement --print-datadir, but I haven't
> > yet committed it. Does anyone see a better way to do this?
> Perfect with me.
> > By the way, I combine --report=all and --xml to get the full report in XML
> > format, but why should the .output file be generated at the same time?
> If you are saying that --report changes the output of --xml,
> then I think this is a misfeature. It is to maintain compatibility
> that --report was introduced, but it was meant to be related to
> the *.output only. In the case of XML, every bit of information
> should always be output IMHO.
That makes more sense to me too.