Forráskód Böngészése

* Fix bug #31665

git-svn-id: trunk@35800 -
michael 8 éve
szülő
commit
6bdda7b85f
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      utils/fpdoc/dw_xml.pp

+ 1 - 1
utils/fpdoc/dw_xml.pp

@@ -100,7 +100,7 @@ var
       Node['virtual'] := 'true';
     if pmAbstract in ADecl.Modifiers then
       Node['abstract'] := 'true';
-    if pmStatic in ADecl.Modifiers then
+    if assigned(ADecl.ProcType) and (ptmStatic in ADecl.ProcType.Modifiers) then
       Node['static'] := 'true';
     if pmReintroduce in ADecl.Modifiers then
       Node['reintroduce'] := 'true';