| 9813 | */ |
| 9814 | |
| 9815 | static void |
| 9816 | xmlXPathCompRelationalExpr(xmlXPathParserContextPtr ctxt) { |
| 9817 | xmlXPathCompAdditiveExpr(ctxt); |
| 9818 | CHECK_ERROR; |
| 9819 | SKIP_BLANKS; |
| 9820 | while ((CUR == '<') || (CUR == '>')) { |
| 9821 | int inf, strict; |
| 9822 | int op1 = ctxt->comp->last; |
| 9823 | |
| 9824 | if (CUR == '<') inf = 1; |
| 9825 | else inf = 0; |
| 9826 | if (NXT(1) == '=') strict = 0; |
| 9827 | else strict = 1; |
| 9828 | NEXT; |
| 9829 | if (!strict) NEXT; |
| 9830 | SKIP_BLANKS; |
| 9831 | xmlXPathCompAdditiveExpr(ctxt); |
| 9832 | CHECK_ERROR; |
| 9833 | PUSH_BINARY_EXPR(XPATH_OP_CMP, op1, ctxt->comp->last, inf, strict); |
| 9834 | SKIP_BLANKS; |
| 9835 | } |
| 9836 | } |
| 9837 | |
| 9838 | /** |
| 9839 | * xmlXPathCompEqualityExpr: |
no test coverage detected