Lines Matching refs:yyval
2205 YYSTYPE yyval;
2421 yyval = yyvsp[1-yylen];
2483 { (yyval.node) = NULL; }
2489 { (yyval.node) = NULL; }
2495 { (yyval.node) = NULL; }
2501 { (yyval.node) = NULL; }
2528 (yyval.node) = NULL;
2537 (yyval.node) = new(mem_ctx) ast_warnings_toggle(true);
2546 (yyval.node) = new(mem_ctx) ast_warnings_toggle(false);
2602 (yyval.expression) = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL);
2603 (yyval.expression)->set_location((yylsp[0]));
2604 (yyval.expression)->primary_expression.identifier = (yyvsp[0].identifier);
2613 (yyval.expression) = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL);
2614 (yyval.expression)->set_location((yylsp[0]));
2615 (yyval.expression)->primary_expression.int_constant = (yyvsp[0].n);
2624 (yyval.expression) = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL);
2625 (yyval.expression)->set_location((yylsp[0]));
2626 (yyval.expression)->primary_expression.uint_constant = (yyvsp[0].n);
2635 (yyval.expression) = new(ctx) ast_expression(ast_int64_constant, NULL, NULL, NULL);
2636 (yyval.expression)->set_location((yylsp[0]));
2637 (yyval.expression)->primary_expression.int64_constant = (yyvsp[0].n64);
2646 (yyval.expression) = new(ctx) ast_expression(ast_uint64_constant, NULL, NULL, NULL);
2647 (yyval.expression)->set_location((yylsp[0]));
2648 (yyval.expression)->primary_expression.uint64_constant = (yyvsp[0].n64);
2657 (yyval.expression) = new(ctx) ast_expression(ast_float_constant, NULL, NULL, NULL);
2658 (yyval.expression)->set_location((yylsp[0]));
2659 (yyval.expression)->primary_expression.float_constant = (yyvsp[0].real);
2668 (yyval.expression) = new(ctx) ast_expression(ast_double_constant, NULL, NULL, NULL);
2669 (yyval.expression)->set_location((yylsp[0]));
2670 (yyval.expression)->primary_expression.double_constant = (yyvsp[0].dreal);
2679 (yyval.expression) = new(ctx) ast_expression(ast_bool_constant, NULL, NULL, NULL);
2680 (yyval.expression)->set_location((yylsp[0]));
2681 (yyval.expression)->primary_expression.bool_constant = (yyvsp[0].n);
2689 (yyval.expression) = (yyvsp[-1].expression);
2698 (yyval.expression) = new(ctx) ast_expression(ast_array_index, (yyvsp[-3].expression), (yyvsp[-1].expression), NULL);
2699 (yyval.expression)->set_location_range((yylsp[-3]), (yylsp[0]));
2707 (yyval.expression) = (yyvsp[0].expression);
2716 (yyval.expression) = new(ctx) ast_expression(ast_field_selection, (yyvsp[-2].expression), NULL, NULL);
2717 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2718 (yyval.expression)->primary_expression.identifier = (yyvsp[0].identifier);
2727 (yyval.expression) = new(ctx) ast_expression(ast_post_inc, (yyvsp[-1].expression), NULL, NULL);
2728 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
2737 (yyval.expression) = new(ctx) ast_expression(ast_post_dec, (yyvsp[-1].expression), NULL, NULL);
2738 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
2746 (yyval.expression) = (yyvsp[-1].expression);
2747 (yyval.expression)->set_location((yylsp[-1]));
2748 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
2756 (yyval.expression) = (yyvsp[-2].expression);
2757 (yyval.expression)->set_location((yylsp[-2]));
2758 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
2767 (yyval.expression) = new(ctx) ast_function_expression((yyvsp[0].type_specifier));
2768 (yyval.expression)->set_location((yylsp[0]));
2777 (yyval.expression) = new(ctx) ast_function_expression((yyvsp[0].expression));
2778 (yyval.expression)->set_location((yylsp[0]));
2787 (yyval.expression) = new(ctx) ast_expression(ast_pre_inc, (yyvsp[0].expression), NULL, NULL);
2788 (yyval.expression)->set_location((yylsp[-1]));
2797 (yyval.expression) = new(ctx) ast_expression(ast_pre_dec, (yyvsp[0].expression), NULL, NULL);
2798 (yyval.expression)->set_location((yylsp[-1]));
2807 (yyval.expression) = new(ctx) ast_expression((yyvsp[-1].n), (yyvsp[0].expression), NULL, NULL);
2808 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
2815 { (yyval.n) = ast_plus; }
2821 { (yyval.n) = ast_neg; }
2827 { (yyval.n) = ast_logic_not; }
2833 { (yyval.n) = ast_bit_not; }
2841 (yyval.expression) = new(ctx) ast_expression_bin(ast_mul, (yyvsp[-2].expression), (yyvsp[0].expression));
2842 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2851 (yyval.expression) = new(ctx) ast_expression_bin(ast_div, (yyvsp[-2].expression), (yyvsp[0].expression));
2852 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2861 (yyval.expression) = new(ctx) ast_expression_bin(ast_mod, (yyvsp[-2].expression), (yyvsp[0].expression));
2862 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2871 (yyval.expression) = new(ctx) ast_expression_bin(ast_add, (yyvsp[-2].expression), (yyvsp[0].expression));
2872 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2881 (yyval.expression) = new(ctx) ast_expression_bin(ast_sub, (yyvsp[-2].expression), (yyvsp[0].expression));
2882 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2891 (yyval.expression) = new(ctx) ast_expression_bin(ast_lshift, (yyvsp[-2].expression), (yyvsp[0].expression));
2892 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2901 (yyval.expression) = new(ctx) ast_expression_bin(ast_rshift, (yyvsp[-2].expression), (yyvsp[0].expression));
2902 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2911 (yyval.expression) = new(ctx) ast_expression_bin(ast_less, (yyvsp[-2].expression), (yyvsp[0].expression));
2912 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2921 (yyval.expression) = new(ctx) ast_expression_bin(ast_greater, (yyvsp[-2].expression), (yyvsp[0].expression));
2922 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2931 (yyval.expression) = new(ctx) ast_expression_bin(ast_lequal, (yyvsp[-2].expression), (yyvsp[0].expression));
2932 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2941 (yyval.expression) = new(ctx) ast_expression_bin(ast_gequal, (yyvsp[-2].expression), (yyvsp[0].expression));
2942 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2951 (yyval.expression) = new(ctx) ast_expression_bin(ast_equal, (yyvsp[-2].expression), (yyvsp[0].expression));
2952 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2961 (yyval.expression) = new(ctx) ast_expression_bin(ast_nequal, (yyvsp[-2].expression), (yyvsp[0].expression));
2962 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2971 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_and, (yyvsp[-2].expression), (yyvsp[0].expression));
2972 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2981 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_xor, (yyvsp[-2].expression), (yyvsp[0].expression));
2982 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2991 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_or, (yyvsp[-2].expression), (yyvsp[0].expression));
2992 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3001 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_and, (yyvsp[-2].expression), (yyvsp[0].expression));
3002 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3011 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_xor, (yyvsp[-2].expression), (yyvsp[0].expression));
3012 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3021 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_or, (yyvsp[-2].expression), (yyvsp[0].expression));
3022 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3031 (yyval.expression) = new(ctx) ast_expression(ast_conditional, (yyvsp[-4].expression), (yyvsp[-2].expression), (yyvsp[0].expression));
3032 (yyval.expression)->set_location_range((yylsp[-4]), (yylsp[0]));
3041 (yyval.expression) = new(ctx) ast_expression((yyvsp[-1].n), (yyvsp[-2].expression), (yyvsp[0].expression), NULL);
3042 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3049 { (yyval.n) = ast_assign; }
3055 { (yyval.n) = ast_mul_assign; }
3061 { (yyval.n) = ast_div_assign; }
3067 { (yyval.n) = ast_mod_assign; }
3073 { (yyval.n) = ast_add_assign; }
3079 { (yyval.n) = ast_sub_assign; }
3085 { (yyval.n) = ast_ls_assign; }
3091 { (yyval.n) = ast_rs_assign; }
3097 { (yyval.n) = ast_and_assign; }
3103 { (yyval.n) = ast_xor_assign; }
3109 { (yyval.n) = ast_or_assign; }
3116 (yyval.expression) = (yyvsp[0].expression);
3126 (yyval.expression) = new(ctx) ast_expression(ast_sequence, NULL, NULL, NULL);
3127 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3128 (yyval.expression)->expressions.push_tail(& (yyvsp[-2].expression)->link);
3130 (yyval.expression) = (yyvsp[-2].expression);
3133 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
3142 (yyval.node) = (yyvsp[-1].function);
3150 (yyval.node) = (yyvsp[-1].declarator_list);
3159 (yyval.node) = (yyvsp[-1].type_specifier);
3177 (yyval.node) = (yyvsp[0].node);
3185 (yyval.function) = (yyvsp[-1].function);
3186 (yyval.function)->parameters.push_tail(& (yyvsp[0].parameter_declarator)->link);
3194 (yyval.function) = (yyvsp[-2].function);
3195 (yyval.function)->parameters.push_tail(& (yyvsp[0].parameter_declarator)->link);
3204 (yyval.function) = new(ctx) ast_function();
3205 (yyval.function)->set_location((yylsp[-1]));
3206 (yyval.function)->return_type = (yyvsp[-2].fully_specified_type);
3207 (yyval.function)->identifier = (yyvsp[-1].identifier);
3223 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3224 (yyval.parameter_declarator)->set_location_range((yylsp[-1]), (yylsp[0]));
3225 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3226 (yyval.parameter_declarator)->type->set_location((yylsp[-1]));
3227 (yyval.parameter_declarator)->type->specifier = (yyvsp[-1].type_specifier);
3228 (yyval.parameter_declarator)->identifier = (yyvsp[0].identifier);
3239 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3240 (yyval.parameter_declarator)->set_location_range((yylsp[-1]), (yylsp[0]));
3241 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3242 (yyval.parameter_declarator)->type->set_location((yylsp[-1]));
3243 (yyval.parameter_declarator)->type->specifier = (yyvsp[-1].type_specifier);
3244 (yyval.parameter_declarator)->identifier = (yyvsp[0].identifier);
3259 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3260 (yyval.parameter_declarator)->set_location_range((yylsp[-2]), (yylsp[0]));
3261 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3262 (yyval.parameter_declarator)->type->set_location((yylsp[-2]));
3263 (yyval.parameter_declarator)->type->specifier = (yyvsp[-2].type_specifier);
3264 (yyval.parameter_declarator)->identifier = (yyvsp[-1].identifier);
3265 (yyval.parameter_declarator)->array_specifier = (yyvsp[0].array_specifier);
3274 (yyval.parameter_declarator) = (yyvsp[0].parameter_declarator);
3275 (yyval.parameter_declarator)->type->qualifier = (yyvsp[-1].type_qualifier);
3276 if (!(yyval.parameter_declarator)->type->qualifier.push_to_global(& (yylsp[-1]), state)) {
3287 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3288 (yyval.parameter_declarator)->set_location((yylsp[0]));
3289 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3290 (yyval.parameter_declarator)->type->set_location_range((yylsp[-1]), (yylsp[0]));
3291 (yyval.parameter_declarator)->type->qualifier = (yyvsp[-1].type_qualifier);
3292 if (!(yyval.parameter_declarator)->type->qualifier.push_to_global(& (yylsp[-1]), state)) {
3295 (yyval.parameter_declarator)->type->specifier = (yyvsp[0].type_specifier);
3303 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3314 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3315 (yyval.type_qualifier).flags.q.constant = 1;
3326 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3327 (yyval.type_qualifier).flags.q.precise = 1;
3342 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3343 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
3358 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3359 (yyval.type_qualifier).precision = (yyvsp[-1].n);
3367 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3368 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
3376 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3377 (yyval.type_qualifier).flags.q.in = 1;
3385 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3386 (yyval.type_qualifier).flags.q.out = 1;
3394 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3395 (yyval.type_qualifier).flags.q.in = 1;
3396 (yyval.type_qualifier).flags.q.out = 1;
3408 (yyval.declarator_list) = (yyvsp[-2].declarator_list);
3409 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3422 (yyval.declarator_list) = (yyvsp[-3].declarator_list);
3423 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3436 (yyval.declarator_list) = (yyvsp[-5].declarator_list);
3437 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3450 (yyval.declarator_list) = (yyvsp[-4].declarator_list);
3451 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3462 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[0].fully_specified_type));
3463 (yyval.declarator_list)->set_location((yylsp[0]));
3475 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-1].fully_specified_type));
3476 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3477 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3490 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-2].fully_specified_type));
3491 (yyval.declarator_list)->set_location_range((yylsp[-2]), (yylsp[0]));
3492 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3505 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-4].fully_specified_type));
3506 (yyval.declarator_list)->set_location_range((yylsp[-4]), (yylsp[-2]));
3507 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3520 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-3].fully_specified_type));
3521 (yyval.declarator_list)->set_location_range((yylsp[-3]), (yylsp[-2]));
3522 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3535 (yyval.declarator_list) = new(ctx) ast_declarator_list(NULL);
3536 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3537 (yyval.declarator_list)->invariant = true;
3539 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3551 (yyval.declarator_list) = new(ctx) ast_declarator_list(NULL);
3552 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3553 (yyval.declarator_list)->precise = true;
3555 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3564 (yyval.fully_specified_type) = new(ctx) ast_fully_specified_type();
3565 (yyval.fully_specified_type)->set_location((yylsp[0]));
3566 (yyval.fully_specified_type)->specifier = (yyvsp[0].type_specifier);
3575 (yyval.fully_specified_type) = new(ctx) ast_fully_specified_type();
3576 (yyval.fully_specified_type)->set_location_range((yylsp[-1]), (yylsp[0]));
3577 (yyval.fully_specified_type)->qualifier = (yyvsp[-1].type_qualifier);
3578 if (!(yyval.fully_specified_type)->qualifier.push_to_global(& (yylsp[-1]), state)) {
3581 (yyval.fully_specified_type)->specifier = (yyvsp[0].type_specifier);
3582 if ((yyval.fully_specified_type)->specifier->structure != NULL &&
3583 (yyval.fully_specified_type)->specifier->structure->is_declaration) {
3584 (yyval.fully_specified_type)->specifier->structure->layout = &(yyval.fully_specified_type)->qualifier;
3593 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3601 (yyval.type_qualifier) = (yyvsp[-2].type_qualifier);
3602 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[0]), state, (yyvsp[0].type_qualifier), true)) {
3612 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3615 if (!(yyval.type_qualifier).flags.i && (state->ARB_fragment_coord_conventions_enable ||
3618 (yyval.type_qualifier).flags.q.origin_upper_left = 1;
3621 (yyval.type_qualifier).flags.q.pixel_center_integer = 1;
3624 if ((yyval.type_qualifier).flags.i && state->ARB_fragment_coord_conventions_warn) {
3632 if (!(yyval.type_qualifier).flags.i &&
3637 (yyval.type_qualifier).flags.q.depth_type = 1;
3638 (yyval.type_qualifier).depth_type = ast_depth_any;
3640 (yyval.type_qualifier).flags.q.depth_type = 1;
3641 (yyval.type_qualifier).depth_type = ast_depth_greater;
3643 (yyval.type_qualifier).flags.q.depth_type = 1;
3644 (yyval.type_qualifier).depth_type = ast_depth_less;
3647 (yyval.type_qualifier).flags.q.depth_type = 1;
3648 (yyval.type_qualifier).depth_type = ast_depth_unchanged;
3651 if ((yyval.type_qualifier).flags.i && state->AMD_conservative_depth_warn) {
3656 if ((yyval.type_qualifier).flags.i && state->ARB_conservative_depth_warn) {
3664 if (!(yyval.type_qualifier).flags.i && state->has_uniform_buffer_objects()) {
3666 (yyval.type_qualifier).flags.q.std140 = 1;
3668 (yyval.type_qualifier).flags.q.shared = 1;
3670 (yyval.type_qualifier).flags.q.std430 = 1;
3672 (yyval.type_qualifier).flags.q.column_major = 1;
3684 (yyval.type_qualifier).flags.q.row_major = 1;
3692 (yyval.type_qualifier).flags.q.packed = 1;
3695 if ((yyval.type_qualifier).flags.i && state->ARB_uniform_buffer_object_warn) {
3703 if (!(yyval.type_qualifier).flags.i) {
3718 (yyval.type_qualifier).flags.q.prim_type = 1;
3719 (yyval.type_qualifier).prim_type = map[i].e;
3724 if ((yyval.type_qualifier).flags.i && !state->has_geometry_shader() &&
3733 if (!(yyval.type_qualifier).flags.i) {
3795 (yyval.type_qualifier).flags.q.explicit_image_format = 1;
3796 (yyval.type_qualifier).image_format = map[i].format;
3797 (yyval.type_qualifier).image_base_type = map[i].base_type;
3804 if (!(yyval.type_qualifier).flags.i) {
3821 (yyval.type_qualifier).flags.q.early_fragment_tests = 1;
3832 (yyval.type_qualifier).flags.q.inner_coverage = 1;
3850 (yyval.type_qualifier).flags.q.post_depth_coverage = 1;
3859 if ((yyval.type_qualifier).flags.q.post_depth_coverage && (yyval.type_qualifier).flags.q.inner_coverage) {
3892 (yyval.type_qualifier).flags.q.pixel_interlock_ordered = pixel_interlock_ordered;
3893 (yyval.type_qualifier).flags.q.pixel_interlock_unordered = pixel_interlock_unordered;
3894 (yyval.type_qualifier).flags.q.sample_interlock_ordered = sample_interlock_ordered;
3895 (yyval.type_qualifier).flags.q.sample_interlock_unordered = sample_interlock_unordered;
3899 if (!(yyval.type_qualifier).flags.i) {
3910 (yyval.type_qualifier).flags.q.prim_type = 1;
3911 (yyval.type_qualifier).prim_type = map[i].e;
3916 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
3922 if (!(yyval.type_qualifier).flags.i) {
3933 (yyval.type_qualifier).flags.q.vertex_spacing = 1;
3934 (yyval.type_qualifier).vertex_spacing = map[i].e;
3939 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
3945 if (!(yyval.type_qualifier).flags.i) {
3947 (yyval.type_qualifier).flags.q.ordering = 1;
3948 (yyval.type_qualifier).ordering = GL_CW;
3950 (yyval.type_qualifier).flags.q.ordering = 1;
3951 (yyval.type_qualifier).ordering = GL_CCW;
3954 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
3960 if (!(yyval.type_qualifier).flags.i) {
3962 (yyval.type_qualifier).flags.q.point_mode = 1;
3963 (yyval.type_qualifier).point_mode = true;
3966 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
3973 if (!(yyval.type_qualifier).flags.i) {
3997 (yyval.type_qualifier).flags.q.blend_support = 1;
4003 if ((yyval.type_qualifier).flags.i &&
4011 if ((yyval.type_qualifier).flags.i && state->stage != MESA_SHADER_FRAGMENT) {
4019 if (!(yyval.type_qualifier).flags.i) {
4021 (yyval.type_qualifier).flags.q.local_size_variable = 1;
4024 if ((yyval.type_qualifier).flags.i && !state->ARB_compute_variable_group_size_enable) {
4032 if (!(yyval.type_qualifier).flags.i) {
4034 (yyval.type_qualifier).flags.q.bindless_sampler = 1;
4036 (yyval.type_qualifier).flags.q.bound_sampler = 1;
4040 (yyval.type_qualifier).flags.q.bindless_image = 1;
4042 (yyval.type_qualifier).flags.q.bound_image = 1;
4045 if ((yyval.type_qualifier).flags.i && !state->has_bindless()) {
4052 if (!(yyval.type_qualifier).flags.i &&
4055 (yyval.type_qualifier).flags.q.non_coherent = 1;
4059 if (!(yyval.type_qualifier).flags.i) {
4061 (yyval.type_qualifier).flags.q.derivative_group = 1;
4062 (yyval.type_qualifier).derivative_group = DERIVATIVE_GROUP_QUADS;
4064 (yyval.type_qualifier).flags.q.derivative_group = 1;
4065 (yyval.type_qualifier).derivative_group = DERIVATIVE_GROUP_LINEAR;
4068 if ((yyval.type_qualifier).flags.i) {
4089 if (!(yyval.type_qualifier).flags.i) {
4101 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4118 (yyval.type_qualifier).flags.q.explicit_align = 1;
4119 (yyval.type_qualifier).align = (yyvsp[0].expression);
4124 (yyval.type_qualifier).flags.q.explicit_location = 1;
4126 if ((yyval.type_qualifier).flags.q.attribute == 1 &&
4132 (yyval.type_qualifier).location = (yyvsp[0].expression);
4141 (yyval.type_qualifier).flags.q.explicit_component = 1;
4142 (yyval.type_qualifier).component = (yyvsp[0].expression);
4152 (yyval.type_qualifier).flags.q.explicit_index = 1;
4153 (yyval.type_qualifier).index = (yyvsp[0].expression);
4160 (yyval.type_qualifier).flags.q.explicit_binding = 1;
4161 (yyval.type_qualifier).binding = (yyvsp[0].expression);
4167 (yyval.type_qualifier).flags.q.explicit_offset = 1;
4168 (yyval.type_qualifier).offset = (yyvsp[0].expression);
4172 (yyval.type_qualifier).flags.q.max_vertices = 1;
4173 (yyval.type_qualifier).max_vertices = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4184 (yyval.type_qualifier).flags.q.stream = 1;
4185 (yyval.type_qualifier).flags.q.explicit_stream = 1;
4186 (yyval.type_qualifier).stream = (yyvsp[0].expression);
4192 (yyval.type_qualifier).flags.q.xfb_buffer = 1;
4193 (yyval.type_qualifier).flags.q.explicit_xfb_buffer = 1;
4194 (yyval.type_qualifier).xfb_buffer = (yyvsp[0].expression);
4198 (yyval.type_qualifier).flags.q.explicit_xfb_offset = 1;
4199 (yyval.type_qualifier).offset = (yyvsp[0].expression);
4203 (yyval.type_qualifier).flags.q.xfb_stride = 1;
4204 (yyval.type_qualifier).flags.q.explicit_xfb_stride = 1;
4205 (yyval.type_qualifier).xfb_stride = (yyvsp[0].expression);
4224 (yyval.type_qualifier).flags.q.local_size |= (1 << i);
4225 (yyval.type_qualifier).local_size[i] = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4232 (yyval.type_qualifier).flags.q.invocations = 1;
4233 (yyval.type_qualifier).invocations = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4246 (yyval.type_qualifier).flags.q.vertices = 1;
4247 (yyval.type_qualifier).vertices = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4258 if (!(yyval.type_qualifier).flags.i) {
4270 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4272 if ((yyval.type_qualifier).flags.q.uniform && !state->has_uniform_buffer_objects()) {
4276 } else if ((yyval.type_qualifier).flags.q.uniform && state->ARB_uniform_buffer_object_warn) {
4288 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4289 (yyval.type_qualifier).flags.q.row_major = 1;
4297 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4298 (yyval.type_qualifier).flags.q.packed = 1;
4306 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4307 (yyval.type_qualifier).flags.q.shared = 1;
4315 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4316 (yyval.type_qualifier).flags.q.subroutine = 1;
4324 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4325 (yyval.type_qualifier).flags.q.subroutine = 1;
4326 (yyval.type_qualifier).subroutine_list = (yyvsp[-1].subroutine_list);
4338 (yyval.subroutine_list) = new(ctx) ast_subroutine_list();
4339 (yyval.subroutine_list)->declarations.push_tail(&decl->link);
4351 (yyval.subroutine_list) = (yyvsp[-2].subroutine_list);
4352 (yyval.subroutine_list)->declarations.push_tail(&decl->link);
4360 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4361 (yyval.type_qualifier).flags.q.smooth = 1;
4369 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4370 (yyval.type_qualifier).flags.q.flat = 1;
4378 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4379 (yyval.type_qualifier).flags.q.noperspective = 1;
4387 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4388 (yyval.type_qualifier).flags.q.invariant = 1;
4396 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4397 (yyval.type_qualifier).flags.q.precise = 1;
4405 memset(&(yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4406 (yyval.type_qualifier).precision = (yyvsp[0].n);
4417 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4418 (yyval.type_qualifier).flags.q.precise = 1;
4433 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4434 (yyval.type_qualifier).flags.q.invariant = 1;
4446 if (state->is_version(430, 300) && (yyval.type_qualifier).flags.q.in)
4474 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4475 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4492 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4493 (yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, (yyvsp[0].type_qualifier).has_layout());
4501 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4502 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4521 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4522 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4550 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4551 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4566 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4567 (yyval.type_qualifier).precision = (yyvsp[-1].n);
4575 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4576 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4584 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4585 (yyval.type_qualifier).flags.q.centroid = 1;
4593 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4594 (yyval.type_qualifier).flags.q.sample = 1;
4602 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4603 (yyval.type_qualifier).flags.q.patch = 1;
4611 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4612 (yyval.type_qualifier).flags.q.constant = 1;
4620 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4621 (yyval.type_qualifier).flags.q.attribute = 1;
4629 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4630 (yyval.type_qualifier).flags.q.varying = 1;
4638 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4639 (yyval.type_qualifier).flags.q.in = 1;
4647 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4648 (yyval.type_qualifier).flags.q.out = 1;
4659 (yyval.type_qualifier).flags.q.stream = 1;
4660 (yyval.type_qualifier).flags.q.explicit_stream = 0;
4661 (yyval.type_qualifier).stream = state->out_qualifier->stream;
4665 (yyval.type_qualifier).flags.q.xfb_buffer = 1;
4666 (yyval.type_qualifier).flags.q.explicit_xfb_buffer = 0;
4667 (yyval.type_qualifier).xfb_buffer = state->out_qualifier->xfb_buffer;
4676 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4677 (yyval.type_qualifier).flags.q.in = 1;
4678 (yyval.type_qualifier).flags.q.out = 1;
4692 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4693 (yyval.type_qualifier).flags.q.uniform = 1;
4701 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4702 (yyval.type_qualifier).flags.q.buffer = 1;
4710 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4711 (yyval.type_qualifier).flags.q.shared_storage = 1;
4719 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4720 (yyval.type_qualifier).flags.q.coherent = 1;
4728 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4729 (yyval.type_qualifier).flags.q._volatile = 1;
4737 STATIC_ASSERT(sizeof((yyval.type_qualifier).flags.q) <= sizeof((yyval.type_qualifier).flags.i));
4738 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4739 (yyval.type_qualifier).flags.q.restrict_flag = 1;
4747 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4748 (yyval.type_qualifier).flags.q.read_only = 1;
4756 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4757 (yyval.type_qualifier).flags.q.write_only = 1;
4766 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-1]), new(ctx) ast_expression(
4769 (yyval.array_specifier)->set_location_range((yylsp[-1]), (yylsp[0]));
4778 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-2]), (yyvsp[-1].expression));
4779 (yyval.array_specifier)->set_location_range((yylsp[-2]), (yylsp[0]));
4788 (yyval.array_specifier) = (yyvsp[-2].array_specifier);
4791 (yyval.array_specifier)->add_dimension(new(ctx) ast_expression(ast_unsized_array_dim, NULL,
4801 (yyval.array_specifier) = (yyvsp[-3].array_specifier);
4804 (yyval.array_specifier)->add_dimension((yyvsp[-1].expression));
4813 (yyval.type_specifier) = (yyvsp[-1].type_specifier);
4814 (yyval.type_specifier)->array_specifier = (yyvsp[0].array_specifier);
4823 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].type));
4824 (yyval.type_specifier)->set_location((yylsp[0]));
4833 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].struct_specifier));
4834 (yyval.type_specifier)->set_location((yylsp[0]));
4843 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].identifier));
4844 (yyval.type_specifier)->set_location((yylsp[0]));
4851 { (yyval.type) = glsl_type::void_type; }
4857 { (yyval.type) = (yyvsp[0].type); }
4865 (yyval.type) = glsl_type::uint_type;
4878 (yyval.n) = ast_precision_high;
4887 (yyval.n) = ast_precision_medium;
4896 (yyval.n) = ast_precision_low;
4905 (yyval.struct_specifier) = new(ctx) ast_struct_specifier((yyvsp[-3].identifier), (yyvsp[-1].declarator_list));
4906 (yyval.struct_specifier)->set_location_range((yylsp[-3]), (yylsp[0]));
4923 (yyval.struct_specifier) = new(ctx) ast_struct_specifier("#anon_struct", (yyvsp[-1].declarator_list));
4925 (yyval.struct_specifier)->set_location_range((yylsp[-2]), (yylsp[0]));
4933 (yyval.declarator_list) = (yyvsp[0].declarator_list);
4942 (yyval.declarator_list) = (yyvsp[-1].declarator_list);
4943 (yyval.declarator_list)->link.insert_before(& (yyvsp[0].declarator_list)->link);
4979 (yyval.declarator_list) = new(ctx) ast_declarator_list(type);
4980 (yyval.declarator_list)->set_location((yylsp[-1]));
4982 (yyval.declarator_list)->declarations.push_degenerate_list_at_head(& (yyvsp[-1].declaration)->link);
4990 (yyval.declaration) = (yyvsp[0].declaration);
4999 (yyval.declaration) = (yyvsp[-2].declaration);
5000 (yyval.declaration)->link.insert_before(& (yyvsp[0].declaration)->link);
5009 (yyval.declaration) = new(ctx) ast_declaration((yyvsp[0].identifier), NULL, NULL);
5010 (yyval.declaration)->set_location((yylsp[0]));
5019 (yyval.declaration) = new(ctx) ast_declaration((yyvsp[-1].identifier), (yyvsp[0].array_specifier), NULL);
5020 (yyval.declaration)->set_location_range((yylsp[-1]), (yylsp[0]));
5028 (yyval.expression) = (yyvsp[-1].expression);
5036 (yyval.expression) = (yyvsp[-2].expression);
5045 (yyval.expression) = new(ctx) ast_aggregate_initializer();
5046 (yyval.expression)->set_location((yylsp[0]));
5047 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
5062 { (yyval.node) = (ast_node *) (yyvsp[0].compound_statement); }
5070 (yyval.compound_statement) = new(ctx) ast_compound_statement(true, NULL);
5071 (yyval.compound_statement)->set_location_range((yylsp[-1]), (yylsp[0]));
5088 (yyval.compound_statement) = new(ctx) ast_compound_statement(true, (yyvsp[-1].node));
5089 (yyval.compound_statement)->set_location_range((yylsp[-3]), (yylsp[0]));
5097 { (yyval.node) = (ast_node *) (yyvsp[0].compound_statement); }
5105 (yyval.compound_statement) = new(ctx) ast_compound_statement(false, NULL);
5106 (yyval.compound_statement)->set_location_range((yylsp[-1]), (yylsp[0]));
5115 (yyval.compound_statement) = new(ctx) ast_compound_statement(false, (yyvsp[-1].node));
5116 (yyval.compound_statement)->set_location_range((yylsp[-2]), (yylsp[0]));
5129 (yyval.node) = (yyvsp[0].node);
5130 (yyval.node)->link.self_link();
5142 (yyval.node) = (yyvsp[-1].node);
5143 (yyval.node)->link.insert_before(& (yyvsp[0].node)->link);
5165 (yyval.node) = new(ctx) ast_expression_statement(NULL);
5166 (yyval.node)->set_location((yylsp[0]));
5175 (yyval.node) = new(ctx) ast_expression_statement((yyvsp[-1].expression));
5176 (yyval.node)->set_location((yylsp[-1]));
5184 (yyval.node) = new(state->linalloc) ast_selection_statement((yyvsp[-2].expression), (yyvsp[0].selection_rest_statement).then_statement,
5186 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[0]));
5194 (yyval.selection_rest_statement).then_statement = (yyvsp[-2].node);
5195 (yyval.selection_rest_statement).else_statement = (yyvsp[0].node);
5203 (yyval.selection_rest_statement).then_statement = (yyvsp[0].node);
5204 (yyval.selection_rest_statement).else_statement = NULL;
5212 (yyval.node) = (ast_node *) (yyvsp[0].expression);
5227 (yyval.node) = declarator;
5235 (yyval.node) = new(state->linalloc) ast_switch_statement((yyvsp[-2].expression), (yyvsp[0].switch_body));
5236 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[0]));
5244 (yyval.switch_body) = new(state->linalloc) ast_switch_body(NULL);
5245 (yyval.switch_body)->set_location_range((yylsp[-1]), (yylsp[0]));
5253 (yyval.switch_body) = new(state->linalloc) ast_switch_body((yyvsp[-1].case_statement_list));
5254 (yyval.switch_body)->set_location_range((yylsp[-2]), (yylsp[0]));
5262 (yyval.case_label) = new(state->linalloc) ast_case_label((yyvsp[-1].expression));
5263 (yyval.case_label)->set_location((yylsp[-1]));
5271 (yyval.case_label) = new(state->linalloc) ast_case_label(NULL);
5272 (yyval.case_label)->set_location((yylsp[0]));
5283 (yyval.case_label_list) = labels;
5284 (yyval.case_label_list)->set_location((yylsp[0]));
5292 (yyval.case_label_list) = (yyvsp[-1].case_label_list);
5293 (yyval.case_label_list)->labels.push_tail(& (yyvsp[0].case_label)->link);
5305 (yyval.case_statement) = stmts;
5313 (yyval.case_statement) = (yyvsp[-1].case_statement);
5314 (yyval.case_statement)->stmts.push_tail(& (yyvsp[0].node)->link);
5326 (yyval.case_statement_list) = cases;
5334 (yyval.case_statement_list) = (yyvsp[-1].case_statement_list);
5335 (yyval.case_statement_list)->cases.push_tail(& (yyvsp[0].case_statement)->link);
5344 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_while,
5346 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[-1]));
5355 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_do_while,
5357 (yyval.node)->set_location_range((yylsp[-6]), (yylsp[-1]));
5366 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_for,
5368 (yyval.node)->set_location_range((yylsp[-5]), (yylsp[0]));
5376 (yyval.node) = NULL;
5384 (yyval.for_rest_statement).cond = (yyvsp[-1].node);
5385 (yyval.for_rest_statement).rest = NULL;
5393 (yyval.for_rest_statement).cond = (yyvsp[-2].node);
5394 (yyval.for_rest_statement).rest = (yyvsp[0].expression);
5403 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_continue, NULL);
5404 (yyval.node)->set_location((yylsp[-1]));
5413 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_break, NULL);
5414 (yyval.node)->set_location((yylsp[-1]));
5423 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_return, NULL);
5424 (yyval.node)->set_location((yylsp[-1]));
5433 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_return, (yyvsp[-1].expression));
5434 (yyval.node)->set_location_range((yylsp[-2]), (yylsp[-1]));
5443 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_discard, NULL);
5444 (yyval.node)->set_location((yylsp[-1]));
5451 { (yyval.node) = (yyvsp[0].function_definition); }
5457 { (yyval.node) = (yyvsp[0].node); }
5463 { (yyval.node) = (yyvsp[0].node); }
5469 { (yyval.node) = (yyvsp[0].node); }
5475 { (yyval.node) = NULL; }
5483 (yyval.function_definition) = new(ctx) ast_function_definition();
5484 (yyval.function_definition)->set_location_range((yylsp[-1]), (yylsp[0]));
5485 (yyval.function_definition)->prototype = (yyvsp[-1].function);
5486 (yyval.function_definition)->body = (yyvsp[0].compound_statement);
5496 (yyval.node) = (yyvsp[0].interface_block);
5513 (yyval.node) = block;
5532 (yyval.node) = block;
5552 (yyval.interface_block) = block;
5560 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5561 (yyval.type_qualifier).flags.q.in = 1;
5569 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5570 (yyval.type_qualifier).flags.q.out = 1;
5578 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5579 (yyval.type_qualifier).flags.q.uniform = 1;
5587 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5588 (yyval.type_qualifier).flags.q.buffer = 1;
5602 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
5603 (yyval.type_qualifier).flags.q.patch = 1;
5611 (yyval.interface_block) = new(state->linalloc) ast_interface_block(NULL, NULL);
5619 (yyval.interface_block) = new(state->linalloc) ast_interface_block((yyvsp[0].identifier), NULL);
5620 (yyval.interface_block)->set_location((yylsp[0]));
5628 (yyval.interface_block) = new(state->linalloc) ast_interface_block((yyvsp[-1].identifier), (yyvsp[0].array_specifier));
5629 (yyval.interface_block)->set_location_range((yylsp[-1]), (yylsp[0]));
5637 (yyval.declarator_list) = (yyvsp[0].declarator_list);
5646 (yyval.declarator_list) = (yyvsp[-1].declarator_list);
5647 (yyvsp[0].declarator_list)->link.insert_before(& (yyval.declarator_list)->link);
5669 (yyval.declarator_list) = new(ctx) ast_declarator_list(type);
5670 (yyval.declarator_list)->set_location((yylsp[-1]));
5672 (yyval.declarator_list)->declarations.push_degenerate_list_at_head(& (yyvsp[-1].declaration)->link);
5680 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5681 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5691 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5692 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5702 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5703 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5706 if (!(yyval.type_qualifier).validate_in_qualifier(& (yylsp[-1]), state)) {
5726 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5727 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5730 if (!(yyval.type_qualifier).validate_out_qualifier(& (yylsp[-1]), state)) {
5750 (yyval.node) = NULL;
5766 (yyval.node) = NULL;
5792 (yyval.node) = NULL;
5793 if (!(yyvsp[0].type_qualifier).merge_into_in_qualifier(& (yylsp[0]), state, (yyval.node))) {
5806 (yyval.node) = NULL;
5807 if (!(yyvsp[0].type_qualifier).merge_into_out_qualifier(& (yylsp[0]), state, (yyval.node))) {
5832 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
5838 *++yyvsp = yyval;