From 05ac126d6f961a8b3e505493bcc46b74bb65d67d Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 17 Oct 2013 03:47:26 -0400 Subject: [PATCH] Use "##" to ensure the names of the accumulated functions are striped by the IR. --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 2ac19ec..4c74fdd 100644 --- a/parser.c +++ b/parser.c @@ -4007,7 +4007,7 @@ static bool parse_function_body(parser_t *parser, ast_value *var) } /* generate a new name increasing the accumulation count*/ - util_snprintf(acname, sizeof(acname), "$ACCUMULATE_%s_%d", var->name, var->constval.vfunc->accumulation++); + util_snprintf(acname, sizeof(acname), "##ACCUMULATE_%s_%d", var->name, var->constval.vfunc->accumulation++); accum = ast_value_new(parser_ctx(parser), acname, ((ast_expression*)var)->vtype); if (!accum) return false; -- 2.39.2