as the loop control variable is local & is not passed as parameter
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1746
4a8a32a2-be11-0410-ad9d-
d568d2c75423
/* function call */
/*----------------------------*/
case CALL:
/* function call */
/*----------------------------*/
case CALL:
+ /* if local & not passed as paramater then ok */
+ if (sym->level && !astHasSymbol(pbody->right,sym))
+ return TRUE;
return FALSE;
/*------------------------------------------------------------------*/
return FALSE;
/*------------------------------------------------------------------*/