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

+ add missing exit as mentioned by J. Gareth Moreton in #33754

git-svn-id: trunk@39408 -
florian 7 жил өмнө
parent
commit
4f580f7878

+ 1 - 1
compiler/pdecsub.pas

@@ -3073,7 +3073,7 @@ const
            { check if method and directive not for record/class helper }
            { check if method and directive not for record/class helper }
            if is_objectpascal_helper(tprocdef(pd).struct) and
            if is_objectpascal_helper(tprocdef(pd).struct) and
              (pd_nothelper in proc_direcdata[p].pd_flags) then
              (pd_nothelper in proc_direcdata[p].pd_flags) then
-              { TODO: Missing exit? [Kit] }
+             exit;
          end;
          end;
 
 
         { Check the pd_flags if the directive should be allowed }
         { Check the pd_flags if the directive should be allowed }