aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-12 17:03:13 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-12 17:03:13 +0200
commit39f9cbfc14a3d90cd76ab8288136de2d79bbe640 (patch)
treef3b9191826b1fc4303292fe24af02779e177942c /src/vhdl/vhdl-nodes.ads
parent02eb84e95b6830c31e738baf85acadddcf3a3674 (diff)
downloadghdl-39f9cbfc14a3d90cd76ab8288136de2d79bbe640.tar.gz
ghdl-39f9cbfc14a3d90cd76ab8288136de2d79bbe640.tar.bz2
ghdl-39f9cbfc14a3d90cd76ab8288136de2d79bbe640.zip
vhdl: add a parent field to protected_type_declaration. Fix #2091
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index 333dcf6c8..440001102 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -2709,6 +2709,9 @@ package Vhdl.Nodes is
-- Get/Set_Has_Signal_Flag (Flag3)
-- Iir_Kind_Protected_Type_Declaration (Short)
+ -- The parent of a protected type declarationi s the same parent as the
+ -- type declaration.
+ -- Get/Set_Parent (Field0)
--
-- Get/Set_Declaration_Chain (Field1)
--