aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r--src/synth/synth-decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb
index 2e6426ed5..1f252bd1f 100644
--- a/src/synth/synth-decls.adb
+++ b/src/synth/synth-decls.adb
@@ -447,12 +447,12 @@ package body Synth.Decls is
Cst : Value_Acc;
Obj_Type : Type_Acc;
begin
+ Synth_Declaration_Type (Syn_Inst, Decl);
if Deferred_Decl = Null_Node
or else Get_Deferred_Declaration_Flag (Decl)
then
-- Create the object (except for full declaration of a
-- deferred constant).
- Synth_Declaration_Type (Syn_Inst, Decl);
Create_Object (Syn_Inst, Decl, null);
end if;
-- Initialize the value (except for a deferred declaration).