aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/trans.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-14 06:39:53 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-14 06:39:53 +0100
commit279fcbc246fc6438756b76cd4d3d5f1f3e4e1463 (patch)
tree3a11f301175db7618893a14726a1bf55e2e802c1 /src/vhdl/translate/trans.ads
parentfe338385f6c077e5b55b1fa2fc0fe4033894857d (diff)
downloadghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.tar.gz
ghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.tar.bz2
ghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.zip
Fix overflow detection for **, implement ** for i64.
Fix #683
Diffstat (limited to 'src/vhdl/translate/trans.ads')
-rw-r--r--src/vhdl/translate/trans.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans.ads b/src/vhdl/translate/trans.ads
index 960323ee8..f154d6d5d 100644
--- a/src/vhdl/translate/trans.ads
+++ b/src/vhdl/translate/trans.ads
@@ -1063,6 +1063,9 @@ package Trans is
subtype Type_Mode_Scalar is Type_Mode_Type range
Type_Mode_B1 .. Type_Mode_F64;
+ subtype Type_Mode_Integers is Type_Mode_Type range
+ Type_Mode_I32 .. Type_Mode_I64;
+
-- Composite types, with the vhdl meaning: record and arrays.
subtype Type_Mode_Composite is Type_Mode_Type range
Type_Mode_Static_Record .. Type_Mode_Protected;