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:
parent
28edc7726f
commit
49780e2b04
|
@ -82,14 +82,14 @@ rule
|
||||||
|
|
||||||
cdata
|
cdata
|
||||||
# <![CDATA[foo]]>
|
# <![CDATA[foo]]>
|
||||||
| T_CDATA { on_cdata(val[0]) }
|
: T_CDATA { on_cdata(val[0]) }
|
||||||
;
|
;
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
|
|
||||||
comment
|
comment
|
||||||
# <!-- foo -->
|
# <!-- foo -->
|
||||||
| T_COMMENT { on_comment(val[0]) }
|
: T_COMMENT { on_comment(val[0]) }
|
||||||
;
|
;
|
||||||
|
|
||||||
# Elements
|
# Elements
|
||||||
|
|
Loading…
Reference in New Issue