mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 01:01:33 +02:00
* Correct allocation size for IsHandled, index is 1-based
This commit is contained in:
parent
cafaa9f5b8
commit
6314d69c40
@ -1820,7 +1820,7 @@ Implementation
|
||||
hp:=TCmdStrListItem(hp.next);
|
||||
end;
|
||||
ScriptCount:=i;
|
||||
SetLength(IsHandled,ScriptCount);
|
||||
SetLength(IsHandled,ScriptCount+1); // 1-based index used.
|
||||
end;
|
||||
|
||||
procedure TInternalLinker.ParseScript_PostCheck;
|
||||
|
Loading…
Reference in New Issue
Block a user