From 887496173322c262a976ac48d391d89255bf83f0 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 17 Jun 2020 21:53:30 +0200 Subject: vhdl: add ghdl_integer_index_check_failed. For #1257 Improve error message in case of (integer) index not in bounds. --- src/ghdldrv/ghdlrun.adb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ghdldrv') diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb index 1c247e7ae..e0e1d5dbc 100644 --- a/src/ghdldrv/ghdlrun.adb +++ b/src/ghdldrv/ghdlrun.adb @@ -328,6 +328,9 @@ package body Ghdlrun is Grt.Lib.Ghdl_Bound_Check_Failed'Address); Def (Trans_Decls.Ghdl_Direction_Check_Failed, Grt.Lib.Ghdl_Direction_Check_Failed'Address); + Def (Trans_Decls.Ghdl_Integer_Index_Check_Failed, + Grt.Lib.Ghdl_Integer_Index_Check_Failed'Address); + Def (Trans_Decls.Ghdl_Malloc0, Grt.Lib.Ghdl_Malloc0'Address); Def (Trans_Decls.Ghdl_Std_Ulogic_To_Boolean_Array, -- cgit v1.2.3