mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 01:01:33 +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
|
||||
addnodup := false;
|
||||
if indexword(buf[0],length,s) = -1 then
|
||||
if (length=0) or (indexword(buf[0],length,s) = -1) then
|
||||
begin
|
||||
add(s);
|
||||
addnodup := true;
|
||||
|
Loading…
Reference in New Issue
Block a user