Lines Matching refs:other
175 * HASH, DEFINE, and VERSION) to avoid conflicts with other symbols,
1019 _token_list_copy(glcpp_parser_t *parser, token_list_t *other)
1024 if (other == NULL)
1028 for (node = other->head; node; node = node->next) {
1199 /* Return a new token formed by pasting 'token' and 'other'. Note that this
1200 * function may return 'token' or 'other' directly rather than allocating
1206 _token_paste(glcpp_parser_t *parser, token_t *token, token_t *other)
1211 if (other->type == PLACEHOLDER)
1214 /* When 'token' is a placeholder, just return 'other'. */
1216 return other;
1222 if (other->type == '<')
1224 else if (other->type == '=')
1228 if (other->type == '>')
1230 else if (other->type == '=')
1234 if (other->type == '=')
1238 if (other->type == '=')
1242 if (other->type == '&')
1246 if (other->type == '|')
1267 (other->type == IDENTIFIER || other->type == OTHER || other->type == INTEGER_STRING || other->type == INTEGER))
1276 switch (other->type) {
1278 if (other->value.str[0] < '0' || other->value.str[0] > '9')
1282 if (other->value.ival < 0)
1295 if (other->type == INTEGER)
1296 linear_asprintf_append(parser->linalloc, &str, "%" PRIiMAX, other->value.ival);
1298 linear_strcat(parser->linalloc, &str, other->value.str);
1317 _token_print(parser->info_log, other);
1545 * In all other cases, (such as "node is the final node of the list", or
1967 * for expanding any list in any context other than a