mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
Do not create coverage calls on array accessors.
This commit is contained in:
parent
4ff68e07e8
commit
792c1afd95
1 changed files with 1 additions and 0 deletions
1
parser.c
1
parser.c
|
@ -4407,6 +4407,7 @@ static bool parser_create_array_accessor(parser_t *parser, ast_value *array, con
|
||||||
parseerror(parser, "failed to create accessor function value");
|
parseerror(parser, "failed to create accessor function value");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
fval->expression.flags &= ~(AST_FLAG_COVERAGE_MASK);
|
||||||
|
|
||||||
func = ast_function_new(ast_ctx(array), funcname, fval);
|
func = ast_function_new(ast_ctx(array), funcname, fval);
|
||||||
if (!func) {
|
if (!func) {
|
||||||
|
|
Loading…
Reference in a new issue