summaryrefslogtreecommitdiff
path: root/parse.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 /parse.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 'parse.adb')
-rw-r--r--parse.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.adb b/parse.adb
index d5df876..39e1e66 100644
--- a/parse.adb
+++ b/parse.adb
@@ -3250,7 +3250,7 @@ package body Parse is
-- FIXME: remove this message (already checked during sem).
case Get_Kind (Parent) is
when Iir_Kind_Entity_Declaration
- | Iir_Kind_Architecture_Declaration
+ | Iir_Kind_Architecture_Body
| Iir_Kind_Block_Statement
| Iir_Kind_Package_Declaration
| Iir_Kind_Package_Body =>
@@ -5954,10 +5954,10 @@ package body Parse is
-- END [ ARCHITECTURE ] [ ARCHITECTURE_simple_name ] ;
procedure Parse_Architecture (Unit : Iir_Design_Unit)
is
- Res: Iir_Architecture_Declaration;
+ Res: Iir_Architecture_Body;
begin
Expect (Tok_Architecture);
- Res := Create_Iir (Iir_Kind_Architecture_Declaration);
+ Res := Create_Iir (Iir_Kind_Architecture_Body);
-- Get identifier.
Scan_Expect (Tok_Identifier);