From: Wolfgang Bumiller Date: Tue, 7 Jan 2014 14:01:52 +0000 (+0100) Subject: Do not create coverage calls on array accessors. X-Git-Tag: xonotic-v0.8.0~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=792c1afd95ef2a3cc32f110798760511194252ad;p=xonotic%2Fgmqcc.git Do not create coverage calls on array accessors. --- diff --git a/parser.c b/parser.c index 956d88d..5a82234 100644 --- a/parser.c +++ b/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"); return false; } + fval->expression.flags &= ~(AST_FLAG_COVERAGE_MASK); func = ast_function_new(ast_ctx(array), funcname, fval); if (!func) {