Explorar o código

* fix regressions caused by r17496

git-svn-id: trunk@17499 -
florian %!s(int64=14) %!d(string=hai) anos
pai
achega
f53a14ec38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -1987,7 +1987,7 @@ implementation
         { Setup symtablestack a definition time }
         { Setup symtablestack a definition time }
         specobj:=tabstractrecorddef(ttypesym(p).typedef);
         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;
           exit;
 
 
         oldsymtablestack:=symtablestack;
         oldsymtablestack:=symtablestack;