]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ada/sem.adb
[Ada] Minor refactoring
[thirdparty/gcc.git] / gcc / ada / sem.adb
index fa3ed481330abc4af0580344abe35e5405b5159f..2f8f6a4eee490618cb3bd0799ec57a68ca27576d 100644 (file)
@@ -1579,7 +1579,7 @@ package body Sem is
            and then Nkind (Unit (Comp_Unit)) in N_Proper_Body
            and then (Nkind (Unit (Comp_Unit)) /= N_Subprogram_Body
                        or else not Acts_As_Spec (Comp_Unit))
-           and then not In_Extended_Main_Source_Unit (Comp_Unit)
+           and then not Ext_Main_Source_Unit
          then
             null;