aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-11-30 21:25:51 +0100
committerTristan Gingold <tgingold@free.fr>2022-11-30 21:25:51 +0100
commitd74e7a232bb4778ac2da6fbb27735bafe4ca9f81 (patch)
treef920cf94e7448d68d4541db7b64cc32eb182ab78 /src/vhdl/vhdl-nodes.ads
parentb89056bf8498b2fb2021f4776d1aa69f10f15e8c (diff)
downloadghdl-d74e7a232bb4778ac2da6fbb27735bafe4ca9f81.tar.gz
ghdl-d74e7a232bb4778ac2da6fbb27735bafe4ca9f81.tar.bz2
ghdl-d74e7a232bb4778ac2da6fbb27735bafe4ca9f81.zip
vhdl-nodes: add Get/Set_Associated_Subprogram.
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index a82fc46c1..529790b9a 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -1782,6 +1782,8 @@ package Vhdl.Nodes is
--
-- Get/Set_Subprogram_Depth (Field10)
--
+ -- Get/Set_Associated_Subprogram (Field6)
+ --
-- Get/Set_Seen_Flag (Flag1)
--
-- Only for Iir_Kind_Interface_Function_Declaration:
@@ -8262,6 +8264,10 @@ package Vhdl.Nodes is
procedure Set_Default_Subprogram (Inter : Iir; Subprg : Iir);
-- Field: Field6 Ref
+ function Get_Associated_Subprogram (Inter : Iir) return Iir;
+ procedure Set_Associated_Subprogram (Inter : Iir; Subprg : Iir);
+
+ -- Field: Field6 Ref
function Get_Subprogram_Specification (Target : Iir) return Iir;
procedure Set_Subprogram_Specification (Target : Iir; Spec : Iir);