summaryrefslogtreecommitdiff
path: root/src/vhdl/evaluation.adb
diff options
context:
space:
mode:
authorTristan Gingold2015-05-19 05:49:04 +0200
committerTristan Gingold2015-05-19 05:49:04 +0200
commitb764f19e60412f36e792dbb10ea985136e1bb236 (patch)
tree62fbef6b590be59356822ac52b67b49950023d8f /src/vhdl/evaluation.adb
parentbe64a9e54405d840eed832e549517ad6f518335e (diff)
downloadghdl-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.adb3
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.