aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-12-30 18:19:20 +0100
committerTristan Gingold <tgingold@free.fr>2020-12-31 10:57:23 +0100
commit375437310b70a03ae5c59d286e0ade2517a30862 (patch)
treee587ae194c08807999c835259663a8b6a2a22a44 /src
parent7fcae5c0fe43260c42d121083b5e9d557c50ebb3 (diff)
downloadghdl-375437310b70a03ae5c59d286e0ade2517a30862.tar.gz
ghdl-375437310b70a03ae5c59d286e0ade2517a30862.tar.bz2
ghdl-375437310b70a03ae5c59d286e0ade2517a30862.zip
vhdl: improve error message for invalid record element constraint.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/vhdl-errors.adb2
1 files changed, 1 insertions, 1 deletions
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 =>