aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-01-02 04:16:49 +0100
committerTristan Gingold <tgingold@free.fr>2017-01-02 05:13:45 +0100
commit0e0c3efd5e7a375329982f293e85c01d254eaac1 (patch)
tree6e864b789277a1e999276cc5d1f72bf74d2f3cdb /src/vhdl/sem_decls.adb
parent4a5a130ce205020db83631c631a79dc0444aec88 (diff)
downloadghdl-0e0c3efd5e7a375329982f293e85c01d254eaac1.tar.gz
ghdl-0e0c3efd5e7a375329982f293e85c01d254eaac1.tar.bz2
ghdl-0e0c3efd5e7a375329982f293e85c01d254eaac1.zip
iirs: renames Iir_Kinds_Scalar_Type_Definition
Diffstat (limited to 'src/vhdl/sem_decls.adb')
-rw-r--r--src/vhdl/sem_decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_decls.adb b/src/vhdl/sem_decls.adb
index e75092a33..d021bee98 100644
--- a/src/vhdl/sem_decls.adb
+++ b/src/vhdl/sem_decls.adb
@@ -1056,7 +1056,7 @@ package body Sem_Decls is
-- function MAXIMUM (L : T) return E;
if Vhdl_Std >= Vhdl_08
and then (Get_Kind (Element_Type) in
- Iir_Kinds_Scalar_Type_Definition)
+ Iir_Kinds_Scalar_Type_And_Subtype_Definition)
then
Add_Vector_Min_Max
(Name_Maximum, Iir_Predefined_Vector_Maximum);