[Ada] Take into account N_Generic_Package_Renaming_Declaration
authorArnaud Charlet <charlet@adacore.com>
Tue, 22 May 2018 13:23:56 +0000 (13:23 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 22 May 2018 13:23:56 +0000 (13:23 +0000)
2018-05-22  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* comperr.adb (Delete_SCIL_Files): Take into account
N_Generic_Package_Renaming_Declaration.

From-SVN: r260522

gcc/ada/ChangeLog
gcc/ada/comperr.adb

index c0b19899f6d892b63554ffb6d6150e6a8ae2741e..659124a69e550010c789dbf079fb33acaed1e10a 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-22  Arnaud Charlet  <charlet@adacore.com>
+
+       * comperr.adb (Delete_SCIL_Files): Take into account
+       N_Generic_Package_Renaming_Declaration.
+
 2018-05-22  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_ch3.adb (Search_Derivation_Levels): Whenever a parent type is
index c8125501541bfe9b7a4f24bd27e11800d0f94a5d..e034dcb7124ecae284b115fb83067d22ab0276fd 100644 (file)
@@ -484,7 +484,9 @@ package body Comperr is
 
          --  No SCIL file generated for generic package declarations
 
-         when N_Generic_Package_Declaration =>
+         when N_Generic_Package_Declaration
+            | N_Generic_Package_Renaming_Declaration
+         =>
             return;
 
          --  Should never happen, but can be ignored in production