[Ada] Simplify checks for library unit pragmas
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 20 Oct 2020 09:24:48 +0000 (11:24 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 26 Nov 2020 08:39:42 +0000 (03:39 -0500)
commit5f7ee280184215b592e945e906902da92f3428e8
tree3cdd82413bbcd3fdf21983d17bce9a1e30307ad4
parent21d66365ad62c6d807dd5245101e30c67d563922
[Ada] Simplify checks for library unit pragmas

gcc/ada/

* sem_prag.adb (Check_Valid_Library_Unit_Pragma): Raise
exception.
(Analyze_Pragma): Remove detection of rewritten pragmas.
gcc/ada/sem_prag.adb