diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index ac88ed59d..aa3fede62 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -396,7 +396,7 @@ opt_state_expr $$ = 0; } | '[' const ',' { $$ = current_def; } - def_name { current_def = $5; } ']' + def_name { current_def = $4; } ']' { if ($2->type == ex_integer) convert_int ($2);