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[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
|
||||
|
|
Loading…
Reference in New Issue