summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold2015-08-31 16:19:35 +0200
committerTristan Gingold2015-08-31 16:19:35 +0200
commitb1122c405f22ae0bee405658553e62e8aeda79c8 (patch)
tree6e84c767aed3d76a9fc84c0958efc9f6b1c8c056 /src
parent4a5140cc1ebf57fbae15d268d5c553500e077dbe (diff)
downloadghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.tar.gz
ghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.tar.bz2
ghdl-b1122c405f22ae0bee405658553e62e8aeda79c8.zip
iirs: block_statement is a ref.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/iirs.ads3
-rw-r--r--src/vhdl/nodes_meta.adb4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/vhdl/iirs.ads b/src/vhdl/iirs.ads
index 7b701b3..f0ab7ff 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 3dbef4c..4cc8a15 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,