Lines Matching defs:replacement
3841 token_node_t *node, *node_prev, *replacement, *last = NULL;
3859 replacement = linear_alloc_child(parser->linalloc, sizeof(token_node_t));
3860 replacement->token = _token_create_ival (parser, INTEGER, value);
3862 /* Splice replacement node into list, replacing from "node"
3865 node_prev->next = replacement;
3867 list->head = replacement;
3868 replacement->next = last->next;
3870 list->tail = replacement;
3872 node = replacement;
4013 /* Perform argument substitution on the replacement list. */
4123 token_list_t *replacement;
4129 replacement = _token_list_copy(parser, macro->replacements);
4130 _glcpp_parser_apply_pastes(parser, replacement);
4131 return replacement;