xml: beware of user strings used to give a %prec to rules.

* tests/conflicts.at (%prec with user strings): New.
	* src/gram.c (grammar_rules_print_xml): Escape the precedence for
	XML output.
This commit is contained in:
Akim Demaille
2009-06-11 14:45:10 +02:00
parent 04d1e39dd3
commit 44bb908485
3 changed files with 30 additions and 5 deletions

View File

@@ -1,3 +1,10 @@
2009-06-11 Akim Demaille <demaille@gostai.com>
xml: beware of user strings used to give a %prec to rules.
* tests/conflicts.at (%prec with user strings): New.
* src/gram.c (grammar_rules_print_xml): Escape the precedence for
XML output.
2009-06-11 Akim Demaille <demaille@gostai.com>
hash: check insertion for memory exhaustion.