aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/sem_names.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index ddf592cf6..d37143a8f 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -2198,6 +2198,10 @@ package body Sem_Names is
(+Prefix_Loc, "%n cannot be selected by name", +Prefix);
end if;
+ when Iir_Kind_Error =>
+ -- Let's propagate the error.
+ null;
+
when others =>
Error_Kind ("sem_selected_name(2)", Prefix);
end case;