浏览代码

* fixed displaying of hints such for procedures and functions
(and moved check_hints from pbase to htypechk) (forgot to commit earlier)

git-svn-id: trunk@2469 -

Jonas Maebe 19 年之前
父节点
当前提交
0dc6d51c08
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/ncal.pas

+ 4 - 0
compiler/ncal.pas

@@ -1759,6 +1759,10 @@ type
                end; { end of procedure to call determination }
                end; { end of procedure to call determination }
            end;
            end;
 
 
+          { check for hints (deprecated etc) }
+          if (procdefinition.deftype = procdef) then
+            check_hints(tprocdef(procdefinition).procsym,tprocdef(procdefinition).symoptions);
+
           { add needed default parameters }
           { add needed default parameters }
           if assigned(procdefinition) and
           if assigned(procdefinition) and
              (paralength<procdefinition.maxparacount) then
              (paralength<procdefinition.maxparacount) then