mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 06:38:00 +02:00
Fix range check error inside tsuperregisterworklist.addnodup method
This commit is contained in:
parent
310069221a
commit
e1478e27b3
@ -595,7 +595,7 @@ implementation
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
addnodup := false;
|
addnodup := false;
|
||||||
if indexword(buf[0],length,s) = -1 then
|
if (length=0) or (indexword(buf[0],length,s) = -1) then
|
||||||
begin
|
begin
|
||||||
add(s);
|
add(s);
|
||||||
addnodup := true;
|
addnodup := true;
|
||||||
|
Loading…
Reference in New Issue
Block a user