Преглед на файлове

* 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