Преглед изворни кода

* 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;
 
+          { check for hints (deprecated etc) }
+          if (procdefinition.deftype = procdef) then
+            check_hints(tprocdef(procdefinition).procsym,tprocdef(procdefinition).symoptions);
+
           { add needed default parameters }
           if assigned(procdefinition) and
              (paralength<procdefinition.maxparacount) then