[Ada] Simplify check for illegal non-returning procedures
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 3 Nov 2020 08:39:10 +0000 (09:39 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:15:46 +0000 (04:15 -0500)
commit2d1504186ee9d83fbc93f4b6880d55dcdd8daaff
tree0023b4da187a35dc4841f4a2ddc1100076415c0e
parent05e59503c6e57851104649d8781727c4571a8b2c
[Ada] Simplify check for illegal non-returning procedures

gcc/ada/

* sem_prag.adb (Analyze_Pragma): Change "Ref Manual" to RM;
replace uses of an unnecessary "Ok" variable with RETURN
statements; replace nested IF with ELSIF.
gcc/ada/sem_prag.adb