diff --git a/lib/oga/xml/parser.y b/lib/oga/xml/parser.y index 118c906..02efd75 100644 --- a/lib/oga/xml/parser.y +++ b/lib/oga/xml/parser.y @@ -82,14 +82,14 @@ rule cdata # - | T_CDATA { on_cdata(val[0]) } + : T_CDATA { on_cdata(val[0]) } ; # Comments comment # - | T_COMMENT { on_comment(val[0]) } + : T_COMMENT { on_comment(val[0]) } ; # Elements