Lines Matching refs:skip_stack
288 if (parser->skip_stack == NULL ||
289 parser->skip_stack->type == SKIP_NO_SKIP)
434 if (parser->skip_stack == NULL ||
435 parser->skip_stack->type == SKIP_NO_SKIP)
444 parser->skip_stack->type = SKIP_TO_ENDIF;
450 if (parser->skip_stack == NULL ||
451 parser->skip_stack->type == SKIP_NO_SKIP)
477 if (parser->skip_stack &&
478 parser->skip_stack->type == SKIP_TO_ELSE)
484 else if (parser->skip_stack &&
485 parser->skip_stack->has_else)
498 if (parser->skip_stack &&
499 parser->skip_stack->type == SKIP_TO_ELSE)
503 else if (parser->skip_stack &&
504 parser->skip_stack->has_else)
516 if (parser->skip_stack &&
517 parser->skip_stack->has_else)
524 if (parser->skip_stack)
525 parser->skip_stack->has_else = true;
1494 parser->skip_stack = NULL; in glcpp_parser_create()
2396 if (parser->skip_stack) in _glcpp_parser_skip_stack_push_if()
2397 current = parser->skip_stack->type; in _glcpp_parser_skip_stack_push_if()
2412 node->next = parser->skip_stack; in _glcpp_parser_skip_stack_push_if()
2413 parser->skip_stack = node; in _glcpp_parser_skip_stack_push_if()
2420 if (parser->skip_stack == NULL) { in _glcpp_parser_skip_stack_change_if()
2425 if (parser->skip_stack->type == SKIP_TO_ELSE) { in _glcpp_parser_skip_stack_change_if()
2427 parser->skip_stack->type = SKIP_NO_SKIP; in _glcpp_parser_skip_stack_change_if()
2429 parser->skip_stack->type = SKIP_TO_ENDIF; in _glcpp_parser_skip_stack_change_if()
2438 if (parser->skip_stack == NULL) { in _glcpp_parser_skip_stack_pop()
2443 node = parser->skip_stack; in _glcpp_parser_skip_stack_pop()
2444 parser->skip_stack = node->next; in _glcpp_parser_skip_stack_pop()