| 330 | } |
| 331 | |
| 332 | static bool any_reserved_ops(uint8_t *encountered_reserved_ops) { |
| 333 | for (int op_idx = 0; op_idx < RESERVED_OP_COUNT; op_idx++) { |
| 334 | if (encountered_reserved_ops[op_idx] == 2) { |
| 335 | return true; |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | return false; |
| 340 | } |
| 341 | |
| 342 | static bool is_legal_custom_operator( |
| 343 | int32_t char_idx, |