diff options
author | Tristan Gingold | 2014-07-19 12:28:29 +0200 |
---|---|---|
committer | Tristan Gingold | 2014-07-19 12:28:29 +0200 |
commit | be1cda652b00ebfe4a9b4ca4e3cda2106586e739 (patch) | |
tree | 27fc03ae0baf8ea868778735e5a578346b9077cf /parse.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 'parse.adb')
-rw-r--r-- | parse.adb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |