aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/disp_tree.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/disp_tree.adb b/src/vhdl/disp_tree.adb
index ecfc93ba4..92cfff293 100644
--- a/src/vhdl/disp_tree.adb
+++ b/src/vhdl/disp_tree.adb
@@ -452,6 +452,8 @@ package body Disp_Tree is
Ndepth := Depth - 1;
when Attr_Of_Ref =>
Ndepth := 0;
+ when Attr_Ref =>
+ Ndepth := 0;
when Attr_Of_Maybe_Ref =>
if Get_Is_Ref (N) then
Ndepth := 0;