diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-02-16 07:49:15 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-02-17 21:04:46 +0100 |
commit | ce97cf3bc4a5732d5aca67acd474add6bd9b167d (patch) | |
tree | 11e0ed4460eb1ae2e0d1fba3f55be333ce53b319 /src | |
parent | 10fb178950f03784ef9316bfc70570b644cc2855 (diff) | |
download | ghdl-ce97cf3bc4a5732d5aca67acd474add6bd9b167d.tar.gz ghdl-ce97cf3bc4a5732d5aca67acd474add6bd9b167d.tar.bz2 ghdl-ce97cf3bc4a5732d5aca67acd474add6bd9b167d.zip |
Fix crash of issue42.
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/sem_expr.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index e41f9322a..684683d0c 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -390,7 +390,8 @@ package body Sem_Expr is | Iir_Kind_Reverse_Range_Array_Attribute | Iir_Kind_Element_Declaration | Iir_Kind_Attribute_Declaration - | Iir_Kind_Psl_Declaration => + | Iir_Kind_Psl_Declaration + | Iir_Kind_Signature => Error_Msg_Sem (Disp_Node (Expr) & " not allowed in an expression", Loc); return Null_Iir; |