diff options
author | Tristan Gingold | 2015-01-20 06:58:39 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-01-20 06:58:39 +0100 |
commit | adc13ed3c08140e48d977d4295d59a1a005cab1a (patch) | |
tree | b23c8e5bf5c200c7eb35f32db3ac0ef926086ed0 /src/vhdl/evaluation.adb | |
parent | 989d20ec727fff609283979244865d6058f427bc (diff) | |
download | ghdl-adc13ed3c08140e48d977d4295d59a1a005cab1a.tar.gz ghdl-adc13ed3c08140e48d977d4295d59a1a005cab1a.tar.bz2 ghdl-adc13ed3c08140e48d977d4295d59a1a005cab1a.zip |
Minor rework of overflow in physical units: defer until execution.
Diffstat (limited to 'src/vhdl/evaluation.adb')
-rw-r--r-- | src/vhdl/evaluation.adb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vhdl/evaluation.adb b/src/vhdl/evaluation.adb index 9918500..c4727ac 100644 --- a/src/vhdl/evaluation.adb +++ b/src/vhdl/evaluation.adb @@ -52,10 +52,6 @@ package body Evaluation is when others => Error_Kind ("get_physical_value", Expr); end case; - exception - when Constraint_Error => - Error_Msg_Sem ("arithmetic overflow in physical expression", Expr); - return Get_Value (Expr); end Get_Physical_Value; function Build_Integer (Val : Iir_Int64; Origin : Iir) |