| 9669 | */ |
| 9670 | |
| 9671 | static void |
| 9672 | xmlXPathCompUnionExpr(xmlXPathParserContextPtr ctxt) { |
| 9673 | xmlXPathCompPathExpr(ctxt); |
| 9674 | CHECK_ERROR; |
| 9675 | SKIP_BLANKS; |
| 9676 | while (CUR == '|') { |
| 9677 | int op1 = ctxt->comp->last; |
| 9678 | PUSH_LEAVE_EXPR(XPATH_OP_NODE, 0, 0); |
| 9679 | |
| 9680 | NEXT; |
| 9681 | SKIP_BLANKS; |
| 9682 | xmlXPathCompPathExpr(ctxt); |
| 9683 | |
| 9684 | PUSH_BINARY_EXPR(XPATH_OP_UNION, op1, ctxt->comp->last, 0, 0); |
| 9685 | |
| 9686 | SKIP_BLANKS; |
| 9687 | } |
| 9688 | } |
| 9689 | |
| 9690 | /** |
| 9691 | * xmlXPathCompUnaryExpr: |
no test coverage detected