diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-01-04 01:47:41 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-01-04 01:47:41 +0100 |
commit | 3303c1924bae3c699db050e6c33ff814c5e0eb3f (patch) | |
tree | a7cc786272f03b3eae454adb25f9f016dceb1b06 | |
parent | 98067eb30f0097955b086b3bf3ad5da51e558546 (diff) | |
download | ghdl-3303c1924bae3c699db050e6c33ff814c5e0eb3f.tar.gz ghdl-3303c1924bae3c699db050e6c33ff814c5e0eb3f.tar.bz2 ghdl-3303c1924bae3c699db050e6c33ff814c5e0eb3f.zip |
Avoid a crash for component declarations in processes.
-rw-r--r-- | parse.adb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 => |