projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f4642
)
[Ada] Extend function to retrieve first/last nodes to all declarations
author
Yannick Moy
<moy@adacore.com>
Wed, 10 Feb 2021 14:23:06 +0000
(15:23 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Tue, 15 Jun 2021 10:19:37 +0000
(06:19 -0400)
gcc/ada/
* errout.adb (First_And_Last_Node): Also apply to arbitrary late
declarations, not only subprogram specs.
gcc/ada/errout.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/errout.adb
b/gcc/ada/errout.adb
index
09092f9
..
42a1099
100644
(file)
--- a/
gcc/ada/errout.adb
+++ b/
gcc/ada/errout.adb
@@
-1785,7
+1785,7
@@
package body Errout is
| N_Declaration
| N_Access_To_Subprogram_Definition
| N_Generic_Instantiation
- | N_
Subprogram_Declaration
+ | N_
Later_Decl_Item
| N_Use_Package_Clause
| N_Array_Type_Definition
| N_Renaming_Declaration