summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.adb b/parse.adb
index dc5c9fd..6f64ce1 100644
--- a/parse.adb
+++ b/parse.adb
@@ -3269,7 +3269,8 @@ package body Parse is
case Get_Kind (Parent) is
when Iir_Kind_Entity_Declaration
| Iir_Kind_Procedure_Body
- | Iir_Kind_Function_Body =>
+ | Iir_Kind_Function_Body
+ | Iir_Kinds_Process_Statement =>
Error_Msg_Parse
("component declaration are not allowed here");
when others =>