diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-09-20 06:38:53 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-09-20 06:38:53 +0200 |
commit | 0594a0c145e8c23500be3be298f70d6059cdb0d6 (patch) | |
tree | 823b398b0195455aef20fce0f3b520cc7ef9a27c /src/vhdl/disp_tree.adb | |
parent | 1f4e4525f08588cab5e1ecc6357dfe2ebc333ae2 (diff) | |
download | ghdl-0594a0c145e8c23500be3be298f70d6059cdb0d6.tar.gz ghdl-0594a0c145e8c23500be3be298f70d6059cdb0d6.tar.bz2 ghdl-0594a0c145e8c23500be3be298f70d6059cdb0d6.zip |
Add Maybe_Ref_Chain (WIP).
Diffstat (limited to 'src/vhdl/disp_tree.adb')
-rw-r--r-- | src/vhdl/disp_tree.adb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vhdl/disp_tree.adb b/src/vhdl/disp_tree.adb index 718cf6707..040512c3c 100644 --- a/src/vhdl/disp_tree.adb +++ b/src/vhdl/disp_tree.adb @@ -462,6 +462,12 @@ package body Disp_Tree is Ndepth := Depth - 1; end if; Disp_Iir (Get_Iir (N, F), Sub_Indent, Ndepth); + when Attr_Maybe_Ref_Chain => + if Get_Is_Ref (N) then + Disp_Iir (Get_Iir (N, F), Sub_Indent, 0); + else + Disp_Chain (Get_Iir (N, F), Sub_Indent, Depth - 1); + end if; when Attr_Chain => Disp_Chain (Get_Iir (N, F), Sub_Indent, Depth - 1); when Attr_Chain_Next => |