[Ada] Refactor repeated complains about missing -gnat2005 switch
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 25 Nov 2020 21:02:29 +0000 (22:02 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:56 +0000 (06:41 -0500)
commit3a6298d639333eb729a2cea441aeaffcff619227
tree6d45c402d9401d48866ba77704a95f06f341e14f
parent04974721aeee72da4dc497d371bad42a779ad89e
[Ada] Refactor repeated complains about missing -gnat2005 switch

gcc/ada/

* errout.ads (Error_Msg_Ada_2005_Extension): New routine (spec).
* errout.adb (Error_Msg_Ada_2005_Extension): New routine (body).
* par-ch10.adb: Reuse new routine; correct casing for "LIMITED
WITH".
* par-ch11.adb: Likewise.
* par-ch12.adb: Likewise.
* par-ch3.adb: Likewise.
* par-ch4.adb: Likewise; replace "box" with "<>".
* par-ch6.adb: Likewise.
* par-ch9.adb: Likewise; correct casing for "THEN ABORT".
gcc/ada/errout.adb
gcc/ada/errout.ads
gcc/ada/par-ch10.adb
gcc/ada/par-ch11.adb
gcc/ada/par-ch12.adb
gcc/ada/par-ch3.adb
gcc/ada/par-ch4.adb
gcc/ada/par-ch6.adb
gcc/ada/par-ch9.adb