aboutsummaryrefslogtreecommitdiffstats
path: root/errorout.adb
diff options
context:
space:
mode:
Diffstat (limited to 'errorout.adb')
-rw-r--r--errorout.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/errorout.adb b/errorout.adb
index 2a6d27702..839346528 100644
--- a/errorout.adb
+++ b/errorout.adb
@@ -589,7 +589,7 @@ package body Errorout is
return Disp_Identifier (Node, "entity");
when Iir_Kind_Architecture_Body =>
return Disp_Identifier (Node, "architecture") &
- " of" & Disp_Identifier (Get_Entity (Node), "");
+ " of" & Disp_Identifier (Get_Entity_Name (Node), "");
when Iir_Kind_Configuration_Declaration =>
declare
Id : Name_Id;