summaryrefslogtreecommitdiff
path: root/sem_specs.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-07-19 12:28:29 +0200
committerTristan Gingold2014-07-19 12:28:29 +0200
commitbe1cda652b00ebfe4a9b4ca4e3cda2106586e739 (patch)
tree27fc03ae0baf8ea868778735e5a578346b9077cf /sem_specs.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_specs.adb')
-rw-r--r--sem_specs.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sem_specs.adb b/sem_specs.adb
index 0e28161..cf4d835 100644
--- a/sem_specs.adb
+++ b/sem_specs.adb
@@ -64,7 +64,7 @@ package body Sem_Specs is
case Get_Kind (Decl) is
when Iir_Kind_Entity_Declaration =>
return Tok_Entity;
- when Iir_Kind_Architecture_Declaration =>
+ when Iir_Kind_Architecture_Body =>
return Tok_Architecture;
when Iir_Kind_Configuration_Declaration =>
return Tok_Configuration;
@@ -511,7 +511,7 @@ package body Sem_Specs is
-- of that design unit.
case Get_Kind (Scope) is
when Iir_Kind_Entity_Declaration
- | Iir_Kind_Architecture_Declaration
+ | Iir_Kind_Architecture_Body
| Iir_Kind_Configuration_Declaration
| Iir_Kind_Package_Declaration =>
Sem_Named_Entity (Scope);
@@ -553,7 +553,7 @@ package body Sem_Specs is
case Get_Kind (Scope) is
when Iir_Kind_Entity_Declaration
- | Iir_Kind_Architecture_Declaration
+ | Iir_Kind_Architecture_Body
| Iir_Kind_Generate_Statement =>
Sem_Named_Entity_Chain (Get_Declaration_Chain (Scope));
Sem_Named_Entity_Chain (Get_Concurrent_Statement_Chain (Scope));