瀏覽代碼

* 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 }
         { 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;