aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-sem_expr.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_expr.adb b/src/vhdl/vhdl-sem_expr.adb
index 21e7b2237..04a73071c 100644
--- a/src/vhdl/vhdl-sem_expr.adb
+++ b/src/vhdl/vhdl-sem_expr.adb
@@ -4767,7 +4767,8 @@ package body Vhdl.Sem_Expr is
Obj := Get_Named_Entity (Obj);
when Iir_Kinds_Psl_Builtin =>
return;
- when Iir_Kind_Error =>
+ when Iir_Kind_Parenthesis_Name
+ | Iir_Kind_Error =>
return;
when others =>
Error_Kind ("check_read", Obj);