diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-08-31 16:19:35 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-08-31 16:19:35 +0200 |
commit | b1122c405f22ae0bee405658553e62e8aeda79c8 (patch) | |
tree | 6e84c767aed3d76a9fc84c0958efc9f6b1c8c056 | |
parent | 4a5140cc1ebf57fbae15d268d5c553500e077dbe (diff) | |
download | ghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.tar.gz ghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.tar.bz2 ghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.zip |
iirs: block_statement is a ref.
-rw-r--r-- | src/vhdl/iirs.ads | 3 | ||||
-rw-r--r-- | src/vhdl/nodes_meta.adb | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/vhdl/iirs.ads b/src/vhdl/iirs.ads index 7b701b379..f0ab7ff3d 100644 --- a/src/vhdl/iirs.ads +++ b/src/vhdl/iirs.ads @@ -5590,7 +5590,8 @@ package Iirs is function Get_Design_Unit (Target : Iir) return Iir; procedure Set_Design_Unit (Target : Iir; Unit : Iir); - -- Field: Field5 + -- Corresponding block statement for an implicit guard signal. + -- Field: Field5 Ref function Get_Block_Statement (Target : Iir) return Iir; procedure Set_Block_Statement (Target : Iir; Block : Iir); diff --git a/src/vhdl/nodes_meta.adb b/src/vhdl/nodes_meta.adb index 3dbef4ca5..4cc8a1580 100644 --- a/src/vhdl/nodes_meta.adb +++ b/src/vhdl/nodes_meta.adb @@ -1636,7 +1636,7 @@ package body Nodes_Meta is when Field_Design_Unit => return Attr_None; when Field_Block_Statement => - return Attr_None; + return Attr_Ref; when Field_Signal_Driver => return Attr_None; when Field_Declaration_Chain => @@ -2846,9 +2846,9 @@ package body Nodes_Meta is Field_Name_Staticness, Field_Guard_Expression, Field_Guard_Sensitivity_List, - Field_Block_Statement, Field_Parent, Field_Type, + Field_Block_Statement, -- Iir_Kind_Signal_Declaration Field_Identifier, Field_Has_Disconnect_Flag, |