| 536 | } |
| 537 | |
| 538 | void fxCoalesceExpressionNodeHoist(void* it, void* param) |
| 539 | { |
| 540 | txBinaryExpressionNode* self = it; |
| 541 | txHoister* hoister = param; |
| 542 | txToken leftToken = self->left->description->token; |
| 543 | txToken rightToken = self->right->description->token; |
| 544 | if ((leftToken == XS_TOKEN_AND) || (rightToken == XS_TOKEN_AND)) |
| 545 | fxReportParserError(hoister->parser, self->line, "missing () around &&"); |
| 546 | else if ((leftToken == XS_TOKEN_OR) || (rightToken == XS_TOKEN_OR)) |
| 547 | fxReportParserError(hoister->parser, self->line, "missing () around ||"); |
| 548 | fxNodeDispatchHoist(self->left, param); |
| 549 | fxNodeDispatchHoist(self->right, param); |
| 550 | } |
| 551 | |
| 552 | void fxDeclareNodeHoist(void* it, void* param) |
| 553 | { |
nothing calls this directly
no test coverage detected