mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 13:19:34 +01:00
* fixed wrong calculation for checking default parameters
This commit is contained in:
parent
9da80100a2
commit
7c144223ad
@ -1495,7 +1495,7 @@ implementation
|
||||
defaultparacnt:=pd.maxparacount-FParalength;
|
||||
if defaultparacnt>0 then
|
||||
begin
|
||||
if defaultparacnt>result^.firstparaidx then
|
||||
if defaultparacnt>result^.firstparaidx+1 then
|
||||
internalerror(200401141);
|
||||
dec(result^.firstparaidx,defaultparacnt);
|
||||
end;
|
||||
@ -1933,7 +1933,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.104 2004-11-15 23:35:31 peter
|
||||
Revision 1.105 2004-11-29 21:40:54 peter
|
||||
* fixed wrong calculation for checking default parameters
|
||||
|
||||
Revision 1.104 2004/11/15 23:35:31 peter
|
||||
* tparaitem removed, use tparavarsym instead
|
||||
* parameter order is now calculated from paranr value in tparavarsym
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user