2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
e2be6f400f

+ 2 - 2
compiler/pexpr.pas

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