On 2007-11-14 at 15:01 +0100, Akim Demaille wrote:
> It might be silly, but reading the HTML output, it strikes me that we
> should give a means to name and describe the parser. Something that
> would allow something better than "GNU Bison XML Automaton Report".
> Or at least include the name of the file itself? "GNU Bison XML
> Automaton Report for parse-gram.y"? It could also be used for Doxygen
> comments in the generated files.
We do have the <filename> element inside <bison-xml-report>
and also the following rule in xml2xhtml.xsl:
<xsl:template match="bison-xml-report">
<h1>GNU Bison XML Automaton Report</h1>
<p>
input grammar: <span class="i"><xsl:value-of select="filename"/></span>
</p>
...
which produces "input grammar: foo.y" at the top of the HTML document.
Regards,
Wojciech