[Top][All Lists]

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

Re: --print-datadir

From: Akim Demaille
Subject: Re: --print-datadir
Date: Sun, 30 Sep 2007 08:09:21 +0200

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.

reply via email to

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