diff options
Diffstat (limited to 'sem_names.adb')
-rw-r--r-- | sem_names.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sem_names.adb b/sem_names.adb index 4a01133c2..ff0c8795c 100644 --- a/sem_names.adb +++ b/sem_names.adb @@ -1973,7 +1973,7 @@ package body Sem_Names is when Iir_Kinds_Procedure_Declaration => Error_Msg_Sem ("function name is a procedure", Name); - when Iir_Kind_Process_Statement + when Iir_Kinds_Process_Statement | Iir_Kind_Component_Declaration | Iir_Kind_Type_Conversion => Error_Msg_Sem |