diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-22 21:14:22 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-23 18:41:50 +0200 |
commit | 0af29d861903a5ed67e001d9bb403fbbae6a258b (patch) | |
tree | e6b7165cb8a2f10e1674639c5e7cf86bdb95178f /src/vhdl/vhdl-sem_specs.adb | |
parent | 1ba62aa31f39af78202810aead98722b13ec408d (diff) | |
download | ghdl-0af29d861903a5ed67e001d9bb403fbbae6a258b.tar.gz ghdl-0af29d861903a5ed67e001d9bb403fbbae6a258b.tar.bz2 ghdl-0af29d861903a5ed67e001d9bb403fbbae6a258b.zip |
vhdl-sem_decls: make sem_declaration public.
Diffstat (limited to 'src/vhdl/vhdl-sem_specs.adb')
-rw-r--r-- | src/vhdl/vhdl-sem_specs.adb | 5 |
1 files changed, 3 insertions, 2 deletions
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 |