From 7036050236ca310be95d7b727fa6ac5cb7c9392c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 15 Jul 2019 18:41:16 +0200 Subject: vhdl-sem_names: avoid a crash on parenthesis of --- src/vhdl/vhdl-sem_names.adb | 4 ++-- 1 file 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 -- cgit v1.2.3