aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-configuration.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-12 08:29:54 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-12 10:25:10 +0200
commit17eb0242dac5e119ec8f31a700c82aeff01b9869 (patch)
tree44c12e33284bf2d4c181083e5535e9d310c916bc /src/vhdl/vhdl-configuration.adb
parent649375789f8c5867028a882ef9ef67d1ed7975e4 (diff)
downloadghdl-17eb0242dac5e119ec8f31a700c82aeff01b9869.tar.gz
ghdl-17eb0242dac5e119ec8f31a700c82aeff01b9869.tar.bz2
ghdl-17eb0242dac5e119ec8f31a700c82aeff01b9869.zip
errorout: add messages group instead of continuation.
Diffstat (limited to 'src/vhdl/vhdl-configuration.adb')
-rw-r--r--src/vhdl/vhdl-configuration.adb18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/vhdl/vhdl-configuration.adb b/src/vhdl/vhdl-configuration.adb
index 95ed0eb4e..f1ede2dc1 100644
--- a/src/vhdl/vhdl-configuration.adb
+++ b/src/vhdl/vhdl-configuration.adb
@@ -452,12 +452,14 @@ package body Vhdl.Configuration is
if Is_Warning_Enabled (Warnid_Binding)
and then not Get_Artificial_Flag (Assoc)
then
+ Report_Start_Group;
Warning_Msg_Elab
(Warnid_Binding, Assoc, "%n of %n is not bound",
- (+Formal, +Get_Parent (Formal)), Cont => True);
+ (+Formal, +Get_Parent (Formal)));
Warning_Msg_Elab
(Warnid_Binding, Current_Configuration,
"(in %n)", +Current_Configuration);
+ Report_End_Group;
end if;
end if;
Next_Association_Interface (Assoc, Inter);
@@ -552,13 +554,13 @@ package body Vhdl.Configuration is
if Is_Warning_Enabled (Warnid_Binding) then
Inst := Get_Nth_Element (Get_Instantiation_List (Conf), 0);
Inst := Strip_Denoting_Name (Inst);
- Warning_Msg_Elab
- (Warnid_Binding, Conf,
- "%n of %n is not bound",
- (+Inst, +Get_Instantiated_Unit (Inst)), Cont => True);
- Warning_Msg_Elab
- (Warnid_Binding, Current_Configuration,
- "(in %n)", +Current_Configuration);
+ Report_Start_Group;
+ Warning_Msg_Elab (Warnid_Binding, Conf,
+ "%n of %n is not bound",
+ (+Inst, +Get_Instantiated_Unit (Inst)));
+ Warning_Msg_Elab (Warnid_Binding, Current_Configuration,
+ "(in %n)", +Current_Configuration);
+ Report_End_Group;
end if;
return;
end if;