mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-11-06 14:52:01 +00:00
src/print-xml.c (print_grammar): Renamed <terminal> and <nonterminal>
attributes: "type" to "number" and "symbol" to "name".
This commit is contained in:
1 parent
a0de5091fc
commit
cd4a9a598f
1 file changed
+2
-2
+2
-2
@@ -429,7 +429,7 @@ print_grammar (FILE *out, int level)
|
||||
item_number *rhsp;
|
||||
|
||||
xml_printf (out, level + 2,
|
||||
"<terminal type=\"%d\" symbol=\"%s\">",
|
||||
"<terminal number=\"%d\" name=\"%s\">",
|
||||
i, xml_escape (tag));
|
||||
|
||||
for (r = 0; r < nrules; r++)
|
||||
@@ -465,7 +465,7 @@ print_grammar (FILE *out, int level)
|
||||
}
|
||||
|
||||
xml_printf (out, level + 2,
|
||||
"<nonterminal type=\"%d\" symbol=\"%s\">",
|
||||
"<nonterminal number=\"%d\" name=\"%s\">",
|
||||
i, xml_escape (tag));
|
||||
|
||||
if (left_count > 0)
|
||||
|
||||
Reference in new issue
Block a user