projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7883a61
)
[Ada] Recognize delta and extension aggregates as objects
author
Piotr Trojanek
<trojanek@adacore.com>
Thu, 1 Oct 2020 20:23:24 +0000
(22:23 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Tue, 24 Nov 2020 10:16:04 +0000
(
05:16
-0500)
gcc/ada/
* sem_util.adb (Is_Object_Reference): Delta and extension
aggregates are objects.
gcc/ada/sem_util.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_util.adb
b/gcc/ada/sem_util.adb
index 01e99a5f3c5db0b4b6699885239f1d44bfd9d287..1190cfe21bf6bb48c1ee028eab767807da21f1f0 100644
(file)
--- a/
gcc/ada/sem_util.adb
+++ b/
gcc/ada/sem_util.adb
@@
-18324,7
+18324,10
@@
package body Sem_Util is
-- In Ada 95 an aggregate is an object reference
- when N_Aggregate =>
+ when N_Aggregate
+ | N_Delta_Aggregate
+ | N_Extension_Aggregate
+ =>
return Ada_Version >= Ada_95;
-- A string literal is not an object reference, but it might come