summaryrefslogtreecommitdiff
path: root/sem_scopes.adb
diff options
context:
space:
mode:
Diffstat (limited to 'sem_scopes.adb')
-rw-r--r--sem_scopes.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/sem_scopes.adb b/sem_scopes.adb
index c5483e4..9eac434 100644
--- a/sem_scopes.adb
+++ b/sem_scopes.adb
@@ -909,9 +909,12 @@ package body Sem_Scopes is
end loop;
end Iterator_Decl_Chain;
- procedure Add_Declarations is new Iterator_Decl_Chain
+ procedure Add_Declarations_1 is new Iterator_Decl_Chain
(Arg_Type => Boolean, Handle_Decl => Add_Declaration);
+ procedure Add_Declarations (Chain : Iir; Potentially : Boolean := False)
+ renames Add_Declarations_1;
+
procedure Add_Declarations_List is new Iterator_Decl_List
(Arg_Type => Boolean, Handle_Decl => Add_Declaration);