Преглед на файлове

* 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;