Browse Source

Reset static recorddef variables to nil in InitSymtable, avoid crashes in TextMode IDE

git-svn-id: trunk@34203 -
pierre 9 years ago
parent
commit
ef1369fef2
1 changed files with 7 additions and 0 deletions
  1. 7 0
      compiler/symtable.pas

+ 7 - 0
compiler/symtable.pas

@@ -4370,6 +4370,13 @@ implementation
        interface_iunknown:=nil;
        interface_idispatch:=nil;
        rec_tguid:=nil;
+       rec_jmp_buf:=nil;
+       rec_exceptaddr:=nil;
+       objc_metaclasstype:=nil;
+       objc_superclasstype:=nil;
+       objc_idtype:=nil;
+       objc_seltype:=nil;
+       objc_objecttype:=nil;
        dupnr:=0;
      end;