indent();
if (!type_void(return_type))
{
- prt_data_decl(build_declaration(parse_region, NULL, return_type, "result", NULL, NULL));
+ prt_data_decl(build_declaration(parse_region, NULL, return_type, "__nesc_result", NULL, NULL));
newline();
}
}
if (!type_void(return_type))
{
newline();
- outputln("return result;");
+ outputln("return __nesc_result;");
}
unindent();
outputln("}");
if (!type_void(return_type))
{
- output("result = ");
+ output("__nesc_result = ");
/* Combine w/ the combiner on subsequent calls */
if (!first_call && combiner)
{
- output("%s(result, ", combiner->name);
+ output("%s(__nesc_result, ", combiner->name);
calling_combiner = TRUE;
}
}