瀏覽代碼

Fix for Mantis #28738.

pexpr.pas:
  * the gettypedef() overload should not have been commented... Note to self: don't test things during commits

git-svn-id: trunk@31875 -
svenbarth 9 年之前
父節點
當前提交
e2be6f400f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/pexpr.pas

+ 2 - 2
compiler/pexpr.pas

@@ -3749,7 +3749,7 @@ implementation
                     );
         end;
 
-      (*function gettypedef(n:tnode):tdef;inline;
+      function gettypedef(n:tnode):tdef;inline;
       { This returns the typedef that belongs to the given typenode or
         loadvmtaddrnode. n must not be Nil! }
         begin
@@ -3757,7 +3757,7 @@ implementation
             result:=ttypenode(n).typedef
           else
             result:=ttypenode(tloadvmtaddrnode(n).left).typedef;
-        end;*)
+        end;
 
       function gettypedef(sym:tsym):tdef;inline;
         begin