From 375437310b70a03ae5c59d286e0ade2517a30862 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 30 Dec 2020 18:19:20 +0100 Subject: vhdl: improve error message for invalid record element constraint. --- src/vhdl/vhdl-errors.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vhdl/vhdl-errors.adb b/src/vhdl/vhdl-errors.adb index 7f4fde1e7..56bb1ee59 100644 --- a/src/vhdl/vhdl-errors.adb +++ b/src/vhdl/vhdl-errors.adb @@ -258,7 +258,7 @@ package body Vhdl.Errors is | Iir_Kind_Nature_Element_Declaration => return Disp_Identifier (Node, "element"); when Iir_Kind_Record_Element_Constraint => - return "record element constraint"; + return "record element constraint " & Image_Identifier (Node); when Iir_Kind_Array_Element_Resolution => return "array element resolution"; when Iir_Kind_Record_Resolution => -- cgit v1.2.3