[Ada] There is no Expressions field in N_Delta_Aggregate node
authorEd Schonberg <schonberg@adacore.com>
Thu, 7 May 2020 14:07:17 +0000 (10:07 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:35:07 +0000 (07:35 -0400)
gcc/ada/

* sinfo.ads: Indicate that Field 1 of an N_Delta_Aggregate is
unused. Previously it was erroneously labelled as holding an
Expressions list, in analogy with other aggregate constructs,
but there are no Expressions attached to this node syntactically
or semantically.

gcc/ada/sinfo.ads

index 401b38dccab46434242cf14e27478df82e3e6876..24149b6a62406a0de27479f31fe1d2f20c22a2ea 100644 (file)
@@ -11889,7 +11889,7 @@ package Sinfo is
         5 => False),  --  unused
 
      N_Delta_Aggregate =>
-       (1 => False,   --  Expressions (List1-Sem)
+       (1 => False,   --  Unused
         2 => True,    --  Component_Associations (List2)
         3 => True,    --  Expression (Node3)
         4 => False,   --  Unused