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

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

git-svn-id: trunk@39408 -
florian пре 7 година
родитељ
комит
4f580f7878
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

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