Fixed: One use of ERR_NOT_AN_ARRAY did not provide the symbol's name

This commit is contained in:
Randy Heit 2014-07-22 17:20:38 -05:00
parent c447410ad8
commit bede8930a8

View file

@ -2259,7 +2259,7 @@ static void ActionOnCharRange(boolean write)
if((sym->type != SY_MAPARRAY) && (sym->type != SY_WORLDARRAY)
&& (sym->type != SY_GLOBALARRAY))
{
ERR_Error(ERR_NOT_AN_ARRAY, YES);
ERR_Error(ERR_NOT_AN_ARRAY, YES, sym->name);
}
TK_NextToken();
if(sym->info.array.ndim > 1)