[Ada] Better exception message on Invalid_Switch exception
authorDmitriy Anisimkov <anisimko@adacore.com>
Tue, 13 Aug 2019 08:06:24 +0000 (08:06 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 13 Aug 2019 08:06:24 +0000 (08:06 +0000)
commite0401824f74645adcd008045190e0d86ae3ce8e0
treebb3b78b916109ab8c8c9ccec4b601e0111c86b4d
parent96cdd379c398499f0b19e3b469b72b77857995c6
[Ada] Better exception message on Invalid_Switch exception

Improve the error message introduced in the recent commit for
Invalid_Switch exception.

2019-08-13  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

* libgnat/g-comlin.adb (Getopt): Quote unrecognized switch in
Invalid_Switch exception message.

From-SVN: r274333
gcc/ada/ChangeLog
gcc/ada/libgnat/g-comlin.adb