diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-07-19 12:28:29 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-07-19 12:28:29 +0200 |
commit | be1cda652b00ebfe4a9b4ca4e3cda2106586e739 (patch) | |
tree | 27fc03ae0baf8ea868778735e5a578346b9077cf /sem_scopes.adb | |
parent | 4168dec01d69b644c59858be3af8d56b055fbbc2 (diff) | |
download | ghdl-be1cda652b00ebfe4a9b4ca4e3cda2106586e739.tar.gz ghdl-be1cda652b00ebfe4a9b4ca4e3cda2106586e739.tar.bz2 ghdl-be1cda652b00ebfe4a9b4ca4e3cda2106586e739.zip |
Replace architecture_declaration by architecture_body to follow lrm.
Diffstat (limited to 'sem_scopes.adb')
-rw-r--r-- | sem_scopes.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sem_scopes.adb b/sem_scopes.adb index 8028258d8..e1f266d2b 100644 --- a/sem_scopes.adb +++ b/sem_scopes.adb @@ -1207,7 +1207,7 @@ package body Sem_Scopes is procedure Extend_Scope_Of_Block_Declarations (Decl : Iir) is begin case Get_Kind (Decl) is - when Iir_Kind_Architecture_Declaration => + when Iir_Kind_Architecture_Body => Add_Context_Clauses (Get_Design_Unit (Decl)); when Iir_Kind_Block_Statement | Iir_Kind_Generate_Statement => |