aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-avhpi.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/grt-avhpi.adb')
-rw-r--r--src/grt/grt-avhpi.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grt/grt-avhpi.adb b/src/grt/grt-avhpi.adb
index 31a60e85a..1777f54cf 100644
--- a/src/grt/grt-avhpi.adb
+++ b/src/grt/grt-avhpi.adb
@@ -312,7 +312,7 @@ package body Grt.Avhpi is
return;
when Ghdl_Rtik_If_Generate =>
Res := (Kind => VhpiIfGenerateK,
- Ctxt => Get_If_Generate_Child (Iterator.Ctxt, Ch));
+ Ctxt => Get_If_Case_Generate_Child (Iterator.Ctxt, Ch));
-- Return only if the condition is true.
if Res.Ctxt.Base /= Null_Address then
Error := AvhpiErrorOk;