mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
style changes.
* data/xslt/xml2dot.xsl, data/xslt/xml2xhtml.xsl: Space changes. * src/print-xml.c: Style changes. * tests/conflicts.at: Comment changes.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2009-06-11 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
style changes.
|
||||||
|
* data/xslt/xml2dot.xsl, data/xslt/xml2xhtml.xsl: Space changes.
|
||||||
|
* src/print-xml.c: Style changes.
|
||||||
|
* tests/conflicts.at: Comment changes.
|
||||||
|
|
||||||
2009-06-11 Akim Demaille <demaille@gostai.com>
|
2009-06-11 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
xml: beware of user strings used to give a %prec to rules.
|
xml: beware of user strings used to give a %prec to rules.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2dot.xsl - transform Bison XML Report into DOT.
|
xml2dot.xsl - transform Bison XML Report into DOT.
|
||||||
|
|
||||||
Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
@@ -196,11 +196,11 @@
|
|||||||
<xsl:with-param name="search" select="$search"/>
|
<xsl:with-param name="search" select="$search"/>
|
||||||
<xsl:with-param name="replace" select="$replace"/>
|
<xsl:with-param name="replace" select="$replace"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:value-of select="$subject"/>
|
<xsl:value-of select="$subject"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2html.xsl - transform Bison XML Report into XHTML.
|
xml2html.xsl - transform Bison XML Report into XHTML.
|
||||||
|
|
||||||
Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
@@ -48,15 +48,15 @@
|
|||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
}
|
}
|
||||||
a:link {
|
a:link {
|
||||||
color: #1f00ff;
|
color: #1f00ff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #1f00ff;
|
color: #1f00ff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
#menu a {
|
#menu a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|||||||
@@ -248,10 +248,11 @@ print_reductions (FILE *out, int level, state *s)
|
|||||||
int report = false;
|
int report = false;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
if (reds->num == 0) {
|
if (reds->num == 0)
|
||||||
xml_puts (out, level, "<reductions/>");
|
{
|
||||||
return;
|
xml_puts (out, level, "<reductions/>");
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (yydefact[s->number] != 0)
|
if (yydefact[s->number] != 0)
|
||||||
default_reduction = &rules[yydefact[s->number] - 1];
|
default_reduction = &rules[yydefact[s->number] - 1];
|
||||||
|
|||||||
@@ -524,9 +524,9 @@ input.y: expected 2 shift/reduce conflicts
|
|||||||
AT_CLEANUP
|
AT_CLEANUP
|
||||||
|
|
||||||
|
|
||||||
## ------------------------------ ##
|
## ------------------------------- ##
|
||||||
## %expect with reduce conflicts ##
|
## %expect with reduce conflicts. ##
|
||||||
## ------------------------------ ##
|
## ------------------------------- ##
|
||||||
|
|
||||||
AT_SETUP([%expect with reduce conflicts])
|
AT_SETUP([%expect with reduce conflicts])
|
||||||
|
|
||||||
@@ -587,9 +587,9 @@ AT_BISON_CHECK([-o input.c input.y], 0, [],
|
|||||||
AT_CLEANUP
|
AT_CLEANUP
|
||||||
|
|
||||||
|
|
||||||
## ---------------------------- ##
|
## ----------------------------- ##
|
||||||
## %no-default-prec with %prec ##
|
## %no-default-prec with %prec. ##
|
||||||
## ---------------------------- ##
|
## ----------------------------- ##
|
||||||
|
|
||||||
AT_SETUP([%no-default-prec with %prec])
|
AT_SETUP([%no-default-prec with %prec])
|
||||||
|
|
||||||
@@ -611,9 +611,9 @@ AT_BISON_CHECK([-o input.c input.y])
|
|||||||
AT_CLEANUP
|
AT_CLEANUP
|
||||||
|
|
||||||
|
|
||||||
## ---------------- ##
|
## --------------- ##
|
||||||
## %default-prec ##
|
## %default-prec. ##
|
||||||
## ---------------- ##
|
## --------------- ##
|
||||||
|
|
||||||
AT_SETUP([%default-prec])
|
AT_SETUP([%default-prec])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user