Procházet zdrojové kódy

* fix regressions caused by r17496

git-svn-id: trunk@17499 -
florian před 14 roky
rodič
revize
f53a14ec38
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -1987,7 +1987,7 @@ implementation
         { Setup symtablestack a definition time }
         specobj:=tabstractrecorddef(ttypesym(p).typedef);
 
-        if not (is_class(specobj) or is_object(specobj)) then
+        if not (is_class_or_object(specobj) or is_record(specobj)) then
           exit;
 
         oldsymtablestack:=symtablestack;