diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-27 18:54:12 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-27 18:54:12 +0200 |
commit | 89f81ef02c4fb9d0441a2b1c773c8e9da79cda5a (patch) | |
tree | 196ca66b632387d7c3b4484086c87f983ce18fd2 /src/vhdl/translate/trans-chap3.ads | |
parent | a663cbbe964e351e91560d0c7e660f90deb3f83e (diff) | |
download | ghdl-89f81ef02c4fb9d0441a2b1c773c8e9da79cda5a.tar.gz ghdl-89f81ef02c4fb9d0441a2b1c773c8e9da79cda5a.tar.bz2 ghdl-89f81ef02c4fb9d0441a2b1c773c8e9da79cda5a.zip |
translate: fix foreach_non_composite for arrays with unbounded elements.
Diffstat (limited to 'src/vhdl/translate/trans-chap3.ads')
-rw-r--r-- | src/vhdl/translate/trans-chap3.ads | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans-chap3.ads b/src/vhdl/translate/trans-chap3.ads index bf524d43c..e9375fcf8 100644 --- a/src/vhdl/translate/trans-chap3.ads +++ b/src/vhdl/translate/trans-chap3.ads @@ -131,6 +131,8 @@ package Trans.Chap3 is -- set the bounds of it (from ARR), and return it. -- Otherwise, return a null mnode. -- Used to build a var for a subelement of ARR. + -- This is used by foreach_non_composite to factorize fat-pointer + -- building. function Create_Maybe_Fat_Array_Element (Arr : Mnode; Arr_Type : Iir) return Mnode; |