]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix bogus error for delta aggregate as expression function
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 28 Oct 2024 08:30:07 +0000 (09:30 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:52 +0000 (14:00 +0100)
commit1aebc8bfdbe0d2e62e94943356d99174b525f1cb
tree4a89bb9615e4282f149223c7b5e739b13c781940
parent1d602710a2feb91b66cb09d2d18bdbe7d429dee9
ada: Fix bogus error for delta aggregate as expression function

The compiler correctly accepts the other forms of aggregates.

gcc/ada/ChangeLog:

PR ada/113868
* par-ch6.adb (P_Subprogram) <Scan_Body_Or_Expression_Function>:
Add delta aggregate alongside the other forms of aggregates.
gcc/ada/par-ch6.adb