]> git.saurik.com Git - bison.git/commit - tests/conflicts.at
xml: beware of user strings used to give a %prec to rules.
authorAkim Demaille <demaille@gostai.com>
Thu, 11 Jun 2009 12:45:10 +0000 (14:45 +0200)
committerAkim Demaille <demaille@gostai.com>
Thu, 11 Jun 2009 12:53:03 +0000 (14:53 +0200)
commit44bb9084856ec2c421c91e1e1bd0f20437ce83b8
treeaecb3ad1d88a8bd7e1985d18ae56d750e5d8fe24
parent04d1e39dd35c7a5c9e7b12c12a7afbedee71ea96
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.
ChangeLog
src/gram.c
tests/conflicts.at