diff options
author | Tristan Gingold | 2015-05-10 20:54:01 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-10 20:54:01 +0200 |
commit | 0ce4e356a842f816439f3393624387e825cbb3ae (patch) | |
tree | 022ed18284ecc0163dc2475b67dd8599a3500c08 /src | |
parent | 75473f775914a623d2a84f46a68344e4ed21a441 (diff) | |
download | ghdl-0ce4e356a842f816439f3393624387e825cbb3ae.tar.gz ghdl-0ce4e356a842f816439f3393624387e825cbb3ae.tar.bz2 ghdl-0ce4e356a842f816439f3393624387e825cbb3ae.zip |
vhdl 08: handle boolean subtype for conditional expressions.
Fix ticket 46
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/sem_expr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index b7a04d9..9564223 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -4256,7 +4256,7 @@ package body Sem_Expr is end if; if not Is_Overloaded (Res) - and then Get_Type (Res) = Boolean_Type_Definition + and then Get_Base_Type (Get_Type (Res)) = Boolean_Type_Definition then Check_Read (Res); return Res; |