From: Eric Botcazou <ebotca...@adacore.com> 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. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/par-ch6.adb | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/ada/par-ch6.adb b/gcc/ada/par-ch6.adb index 7fe43373535..c3cc5725616 100644 --- a/gcc/ada/par-ch6.adb +++ b/gcc/ada/par-ch6.adb @@ -884,6 +884,7 @@ package body Ch6 is if not (Paren_Count (Expr) /= 0 or else Nkind (Expr) in N_Aggregate + | N_Delta_Aggregate | N_Extension_Aggregate | N_Quantified_Expression) then -- 2.43.0