summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold2015-09-24 21:08:49 +0200
committerTristan Gingold2015-09-24 21:08:49 +0200
commitabd02c225a47ad960bb7d4044d9ad0b50e2d83d6 (patch)
treea7821cace1b753fd17293822cefa989a4b09fa40
parenta66ca30c81966aee0f5ec0d50f337760613010b4 (diff)
downloadghdl-abd02c225a47ad960bb7d4044d9ad0b50e2d83d6.tar.gz
ghdl-abd02c225a47ad960bb7d4044d9ad0b50e2d83d6.tar.bz2
ghdl-abd02c225a47ad960bb7d4044d9ad0b50e2d83d6.zip
Fix crash for access type in aggregate.
Fix ticket95
-rw-r--r--src/vhdl/evaluation.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/evaluation.adb b/src/vhdl/evaluation.adb
index c2283c5..b85b093 100644
--- a/src/vhdl/evaluation.adb
+++ b/src/vhdl/evaluation.adb
@@ -2574,6 +2574,10 @@ package body Evaluation is
end;
end;
+ when Iir_Kind_Access_Type_Definition
+ | Iir_Kind_Access_Subtype_Definition =>
+ return True;
+
when Iir_Kind_Array_Type_Definition
| Iir_Kind_Record_Type_Definition
| Iir_Kind_Record_Subtype_Definition =>