aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-15 18:41:16 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-15 18:41:16 +0200
commit7036050236ca310be95d7b727fa6ac5cb7c9392c (patch)
tree4cd9ecf51b4526386094245e0659054b8f2be119
parentc9822a57bbce7c5a9a48829a0720d38abe20610b (diff)
downloadghdl-7036050236ca310be95d7b727fa6ac5cb7c9392c.tar.gz
ghdl-7036050236ca310be95d7b727fa6ac5cb7c9392c.tar.bz2
ghdl-7036050236ca310be95d7b727fa6ac5cb7c9392c.zip
vhdl-sem_names: avoid a crash on parenthesis of
-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