From 0af29d861903a5ed67e001d9bb403fbbae6a258b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 22 Oct 2019 21:14:22 +0200 Subject: vhdl-sem_decls: make sem_declaration public. --- src/vhdl/vhdl-sem_specs.adb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/vhdl/vhdl-sem_specs.adb') diff --git a/src/vhdl/vhdl-sem_specs.adb b/src/vhdl/vhdl-sem_specs.adb index bdefcfbca..77619b3ce 100644 --- a/src/vhdl/vhdl-sem_specs.adb +++ b/src/vhdl/vhdl-sem_specs.adb @@ -707,9 +707,10 @@ package body Vhdl.Sem_Specs is Attribute_A_Decl (Name, Attr, True, True); end Sem_Signature_Entity_Designator; - procedure Sem_Attribute_Specification - (Spec : Iir_Attribute_Specification; Scope : Iir) + procedure Sem_Attribute_Specification (Spec : Iir_Attribute_Specification) is + Scope : constant Iir := Get_Parent (Spec); + -- Emit an error message when NAME is not found. procedure Error_Attribute_Specification (Name : Iir) is -- cgit v1.2.3