summaryrefslogtreecommitdiff
path: root/compiler/ncal.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ncal.pas')
-rw-r--r--compiler/ncal.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ncal.pas b/compiler/ncal.pas
index a85e12c3cf..27d863c8a2 100644
--- a/compiler/ncal.pas
+++ b/compiler/ncal.pas
@@ -3787,7 +3787,7 @@ implementation
{ add reference to corresponding procsym; may not be the one
originally found/passed to the constructor because of overloads }
if procdefinition.typ = procdef then
- addsymref(tprocdef(procdefinition).procsym);
+ addsymref(tprocdef(procdefinition).procsym,procdefinition);
{ add needed default parameters }
if (paralength<procdefinition.maxparacount) then