Преглед изворни кода

* set def to a defined value in try_parse_structdef_nested_type, resolves #20802

git-svn-id: trunk@19759 -
florian пре 13 година
родитељ
комит
040c846fa1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      compiler/ptype.pas

+ 1 - 0
compiler/ptype.pas

@@ -467,6 +467,7 @@ implementation
         structdef : tdef;
         structdefstack : tfpobjectlist;
       begin
+         def:=nil;
          { use of current parsed object:
            classes, objects, records can be used also in themself }
          structdef:=basedef;