diff options
author | Anselmo95 <anselmo.alberto95@gmail.com> | 2021-04-02 20:39:48 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-04-03 12:01:30 +0200 |
commit | 800656a30c2385b591766281cbc35de1582ce8f5 (patch) | |
tree | eddc4f4ffbcf8cd0d79f2ec312566316bcb99e73 /src/vhdl/vhdl-utils.ads | |
parent | c33f41e4612347d1fcbb9a37bc82249d7b8366eb (diff) | |
download | ghdl-800656a30c2385b591766281cbc35de1582ce8f5.tar.gz ghdl-800656a30c2385b591766281cbc35de1582ce8f5.tar.bz2 ghdl-800656a30c2385b591766281cbc35de1582ce8f5.zip |
Add base support for the attribue element in vhdl 08
Diffstat (limited to 'src/vhdl/vhdl-utils.ads')
-rw-r--r-- | src/vhdl/vhdl-utils.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-utils.ads b/src/vhdl/vhdl-utils.ads index 3696405e0..4d78640eb 100644 --- a/src/vhdl/vhdl-utils.ads +++ b/src/vhdl/vhdl-utils.ads @@ -175,6 +175,9 @@ package Vhdl.Utils is -- Return TRUE iff DEF is a fully constrained type (or subtype) definition. function Is_Fully_Constrained_Type (Def : Iir) return Boolean; + -- Return TRUE iff DEF is an array type (or subtype) definition. + function Is_Array_Type (Def : Iir) return Boolean; + -- Return True iff OBJ can be the target of an aggregate with an others -- choice (cf LRM08 9.3.3.3). -- Return True iff object or member of it is declared to be a fully |