mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-15 00:41:30 +00:00
Fixed: One use of ERR_NOT_AN_ARRAY did not provide the symbol's name
This commit is contained in:
parent
c447410ad8
commit
bede8930a8
1 changed files with 1 additions and 1 deletions
2
parse.c
2
parse.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue