| 623 | } |
| 624 | |
| 625 | void fxPushNodeList(txParser* parser, txInteger count) |
| 626 | { |
| 627 | txNodeList* list = fxNewParserChunk(parser, sizeof(txNodeList)); |
| 628 | txNode* previous = NULL; |
| 629 | txNode* current = parser->root; |
| 630 | txNode* next; |
| 631 | parser->nodeCount -= count; |
| 632 | list->length = count; |
| 633 | while (count) { |
| 634 | next = current->next; |
| 635 | current->next = previous; |
| 636 | previous = current; |
| 637 | current = next; |
| 638 | count--; |
| 639 | } |
| 640 | parser->root = current; |
| 641 | list->description = &gxTokenDescriptions[XS_NO_TOKEN]; |
| 642 | list->first = previous; |
| 643 | fxPushNode(parser, (txNode*)list); |
| 644 | } |
| 645 | |
| 646 | void fxPushNULL(txParser* parser) |
| 647 | { |
no test coverage detected