aboutsummaryrefslogtreecommitdiffstats
path: root/sem_decls.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_decls.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_decls.adb')
-rw-r--r--sem_decls.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sem_decls.adb b/sem_decls.adb
index afdcdaafd..6b299f59a 100644
--- a/sem_decls.adb
+++ b/sem_decls.adb
@@ -1663,7 +1663,7 @@ package body Sem_Decls is
-- shared data.
case Get_Kind (Parent) is
when Iir_Kind_Entity_Declaration
- | Iir_Kind_Architecture_Declaration
+ | Iir_Kind_Architecture_Body
| Iir_Kind_Package_Declaration
| Iir_Kind_Package_Body
| Iir_Kind_Block_Statement
@@ -2825,7 +2825,7 @@ package body Sem_Decls is
when Iir_Kind_Entity_Declaration =>
-- May be used in architecture.
null;
- when Iir_Kind_Architecture_Declaration
+ when Iir_Kind_Architecture_Body
| Iir_Kind_Block_Statement
| Iir_Kind_Generate_Statement =>
-- Might be used in a configuration.