aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/vhdl-sem_names.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb
index 354587fc3..9c8cda5a4 100644
--- a/src/vhdl/vhdl-sem_names.adb
+++ b/src/vhdl/vhdl-sem_names.adb
@@ -2772,8 +2772,8 @@ package body Vhdl.Sem_Names is
Error_Msg_Sem (+Name, "cannot call %n in an expression",
+Prefix);
- when Iir_Kinds_Process_Statement
- | Iir_Kinds_Sequential_Statement
+ when Iir_Kinds_Sequential_Statement
+ | Iir_Kinds_Concurrent_Statement
| Iir_Kind_Component_Declaration
| Iir_Kind_Type_Conversion
| Iir_Kind_Unit_Declaration