Explorar el Código

* fix regressions caused by r17496

git-svn-id: trunk@17499 -
florian hace 14 años
padre
commit
f53a14ec38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;