]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Small fix to printing of raise statements
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 8 Feb 2024 14:45:11 +0000 (15:45 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 14 May 2024 08:19:51 +0000 (10:19 +0200)
commit4dd6f75e35065f2f0732c4cfbaf412b50c51e26e
tree120ce65583002fb4adce8693f13aa06c06e244ac
parentdf48963b9553a51023c0d115bdf6205309e04bfe
ada: Small fix to printing of raise statements

The Name is optional on these nodes and a superflous space is printed if
it is not present on them.

gcc/ada/

* sprint.adb (Sprint_Node_Actual) <N_Raise_Statement>: Be prepared
for an empty Name.
<N_Raise_When_Statement>: Likewise.
gcc/ada/sprint.adb