diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/vhdl/vhdl-sem_expr.adb | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vhdl/vhdl-sem_expr.adb b/src/vhdl/vhdl-sem_expr.adb index 8ed0a8c0e..854da50d8 100644 --- a/src/vhdl/vhdl-sem_expr.adb +++ b/src/vhdl/vhdl-sem_expr.adb @@ -5720,14 +5720,11 @@ package body Vhdl.Sem_Expr is           --  context including the expression, then the condition operator is           --  not applied. -         Res := Sem_Expression_Ov (Cond, Null_Iir); +         Res := Sem_Expression_Wildcard (Cond, Null_Iir);           if Res = Null_Iir then              --  Error occurred.              return Null_Iir; -         elsif Get_Type (Res) = Null_Iir then -            Error_Msg_Sem (+Res, "incorrect type for condition"); -            return Null_Iir;           end if;           return Sem_Condition_Pass2 (Res);  | 
