Fix for useless XML parser rules.

Something tells me that using : and | in your syntax might not be the best
decision.
This commit is contained in:
Yorick Peterse 2014-05-28 21:36:06 +02:00
parent 28edc7726f
commit 49780e2b04
1 changed files with 2 additions and 2 deletions

View File

@ -82,14 +82,14 @@ rule
cdata
# <![CDATA[foo]]>
| T_CDATA { on_cdata(val[0]) }
: T_CDATA { on_cdata(val[0]) }
;
# Comments
comment
# <!-- foo -->
| T_COMMENT { on_comment(val[0]) }
: T_COMMENT { on_comment(val[0]) }
;
# Elements