aboutsummaryrefslogtreecommitdiffstats
path: root/sem_scopes.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-07-19 12:28:29 +0200
committerTristan Gingold <tgingold@free.fr>2014-07-19 12:28:29 +0200
commitbe1cda652b00ebfe4a9b4ca4e3cda2106586e739 (patch)
tree27fc03ae0baf8ea868778735e5a578346b9077cf /sem_scopes.adb
parent4168dec01d69b644c59858be3af8d56b055fbbc2 (diff)
downloadghdl-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.adb2
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 =>