summaryrefslogtreecommitdiff
path: root/compiler/pgenutil.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/pgenutil.pas')
-rw-r--r--compiler/pgenutil.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/pgenutil.pas b/compiler/pgenutil.pas
index 4804995dbb..1829ce335a 100644
--- a/compiler/pgenutil.pas
+++ b/compiler/pgenutil.pas
@@ -813,6 +813,9 @@ uses
st : TSymtable;
i : longint;
begin
+ { since commit 48986 deflist might have NIL entries }
+ if not assigned(def) then
+ exit;
case def.typ of
procdef:
tprocdef(def).forwarddef:=false;