diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-03-21 06:22:42 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-03-21 06:22:42 +0100 |
commit | 047de40c7799e4186b16bd1ad2c6eb17a7cf0098 (patch) | |
tree | 8c2e267979ed2db60dcea017275fe76a211108f5 /src/vhdl/sem_expr.adb | |
parent | 628582294c3695f271c738d1459d57b239e04487 (diff) | |
download | ghdl-047de40c7799e4186b16bd1ad2c6eb17a7cf0098.tar.gz ghdl-047de40c7799e4186b16bd1ad2c6eb17a7cf0098.tar.bz2 ghdl-047de40c7799e4186b16bd1ad2c6eb17a7cf0098.zip |
Improve handling of cascaded error.
Fir #543
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r-- | src/vhdl/sem_expr.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index 4e27eb1ce..ec73f37b6 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -3585,6 +3585,8 @@ package body Sem_Expr is return Null_Iir; end if; return Expr; + when Iir_Kind_Error => + return Null_Iir; when others => Error_Msg_Sem (+Expr, "type %n is not composite", +A_Type); return Null_Iir; |