diff options
author | Tristan Gingold | 2015-05-19 05:49:04 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-19 05:49:04 +0200 |
commit | b764f19e60412f36e792dbb10ea985136e1bb236 (patch) | |
tree | 62fbef6b590be59356822ac52b67b49950023d8f /src/vhdl/evaluation.adb | |
parent | be64a9e54405d840eed832e549517ad6f518335e (diff) | |
download | ghdl-b764f19e60412f36e792dbb10ea985136e1bb236.tar.gz ghdl-b764f19e60412f36e792dbb10ea985136e1bb236.tar.bz2 ghdl-b764f19e60412f36e792dbb10ea985136e1bb236.zip |
Array attribute: handle non-static function call prefix.
Fix ticket68.
Diffstat (limited to 'src/vhdl/evaluation.adb')
-rw-r--r-- | src/vhdl/evaluation.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/evaluation.adb b/src/vhdl/evaluation.adb index 27da938..627ec8b 100644 --- a/src/vhdl/evaluation.adb +++ b/src/vhdl/evaluation.adb @@ -1485,7 +1485,8 @@ package body Evaluation is | Iir_Kind_Slice_Name | Iir_Kind_Subtype_Declaration | Iir_Kind_Type_Declaration - | Iir_Kind_Implicit_Dereference => + | Iir_Kind_Implicit_Dereference + | Iir_Kind_Function_Call => Prefix_Type := Get_Type (Prefix); when Iir_Kind_Attribute_Value => -- The type of the attribute declaration may be unconstrained. |