aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 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,