From 3810f371f59de94848570eba9c3059d8cd3396dc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 2 Mar 2020 07:37:31 +0100 Subject: vhdl-prints: disable code to display anonymous signal. --- src/vhdl/vhdl-prints.adb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/vhdl/vhdl-prints.adb b/src/vhdl/vhdl-prints.adb index bd52fc10f..59f25a08d 100644 --- a/src/vhdl/vhdl-prints.adb +++ b/src/vhdl/vhdl-prints.adb @@ -237,9 +237,10 @@ package body Vhdl.Prints is | Iir_Kind_Constant_Declaration | Iir_Kind_Signal_Declaration | Iir_Kind_Guard_Signal_Declaration + | Iir_Kind_Anonymous_Signal_Declaration | Iir_Kind_Variable_Declaration - | Iir_Kind_Type_Declaration | Iir_Kind_File_Declaration + | Iir_Kind_Type_Declaration | Iir_Kind_Subtype_Declaration | Iir_Kind_Element_Declaration | Iir_Kind_Record_Element_Constraint @@ -2393,7 +2394,14 @@ package body Vhdl.Prints is when Iir_Kind_Signal_Attribute_Declaration => null; when Iir_Kind_Anonymous_Signal_Declaration => - null; + if False then + -- Disabled as it is not part of the sources. + Start_Hbox (Ctxt); + Disp_Token (Ctxt, Tok_Signal); + Disp_Ident (Ctxt, Get_Identifier (Decl)); + Disp_Token (Ctxt, Tok_Semi_Colon); + Close_Hbox (Ctxt); + end if; when Iir_Kind_Group_Template_Declaration => Disp_Group_Template_Declaration (Ctxt, Decl); when Iir_Kind_Group_Declaration => -- cgit v1.2.3