Explorar o código

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

git-svn-id: trunk@19759 -
florian %!s(int64=13) %!d(string=hai) anos
pai
achega
040c846fa1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;