X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fxpath%2Fxpath_internal_parser.mly;h=e5c070070514f811b1cab3e8e18992ba16e8c8c2;hb=31d45495fda9a110fd348f8b492761c28b434ec9;hp=d9c46a7803858418f3f273ced14a8cfdeffde5ef;hpb=41dd1fed04cabad212f10fce3484545f6e9d9444;p=tatoo.git diff --git a/src/xpath/xpath_internal_parser.mly b/src/xpath/xpath_internal_parser.mly index d9c46a7..e5c0700 100644 --- a/src/xpath/xpath_internal_parser.mly +++ b/src/xpath/xpath_internal_parser.mly @@ -130,7 +130,7 @@ axis_test: test: NODE { node, NodeKind.Node } | TEXT { text, NodeKind.Text } -| STAR { star, NodeKind.Element } +| STAR { node, NodeKind.Element } | COMMENT { QNameSet.singleton(QName.comment), NodeKind.Comment }