aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/disp_tree.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/disp_tree.adb')
-rw-r--r--src/vhdl/disp_tree.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vhdl/disp_tree.adb b/src/vhdl/disp_tree.adb
index 92cfff293..621acdf02 100644
--- a/src/vhdl/disp_tree.adb
+++ b/src/vhdl/disp_tree.adb
@@ -139,8 +139,7 @@ package body Disp_Tree is
use Name_Table;
begin
if Ident /= Null_Identifier then
- Image (Ident);
- return ''' & Nam_Buffer (1 .. Nam_Length) & ''';
+ return ''' & Image (Ident) & ''';
else
return "<anonymous>";
end if;