소스 검색

* fix regressions caused by r17496

git-svn-id: trunk@17499 -
florian 14 년 전
부모
커밋
f53a14ec38
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;