diff options
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 |