[Ada] Reject junk expressions in attribute Update
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 29 Apr 2020 09:30:46 +0000 (11:30 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:15 +0000 (04:17 -0400)
commit4b58985f6cc427a53fd72b3eabb2e9c252c2dc58
tree1a9cc3636707ccf6a0248b919246d71198fd3bf6
parent484d58c5ba7518c19a1e1509e54635409bae480f
[Ada] Reject junk expressions in attribute Update

2020-06-19  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Reject illegal positional
component associations; fix syntax in comment about named
component associations.
gcc/ada/sem_attr.adb