aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlxml.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlxml.adb')
-rw-r--r--src/ghdldrv/ghdlxml.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlxml.adb b/src/ghdldrv/ghdlxml.adb
index eb6eceec9..96356ddf2 100644
--- a/src/ghdldrv/ghdlxml.adb
+++ b/src/ghdldrv/ghdlxml.adb
@@ -401,7 +401,7 @@ package body Ghdlxml is
Disp_Iir_Chain (Img, V);
when Attr_Chain_Next =>
null;
- when Attr_Of_Ref =>
+ when Attr_Of_Ref | Attr_Of_Maybe_Ref =>
raise Internal_Error;
end case;
end;
@@ -415,6 +415,8 @@ package body Ghdlxml is
Disp_Iir_List (Img, L, False);
when Attr_Of_Ref =>
Disp_Iir_List (Img, L, True);
+ when Attr_Of_Maybe_Ref =>
+ Disp_Iir_List (Img, L, Get_Is_Ref (N));
when Attr_Ref =>
Disp_Iir_List_Ref (Img, L);
when others =>