aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-04-16 19:03:15 +0200
committerTristan Gingold <tgingold@free.fr>2019-04-16 19:03:15 +0200
commitf549640aa2a4dbf8e4d386092112de07239a9343 (patch)
tree7b359172893ba686bdd9c5bb90b55db19133e7c9
parent9a2709515197bf90a545262025d943be978d2db4 (diff)
downloadghdl-f549640aa2a4dbf8e4d386092112de07239a9343.tar.gz
ghdl-f549640aa2a4dbf8e4d386092112de07239a9343.tar.bz2
ghdl-f549640aa2a4dbf8e4d386092112de07239a9343.zip
synth-expr: handle others in aggregate.
-rw-r--r--src/synth/synth-expr.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 00cbc0f58..c585f0d81 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -172,6 +172,11 @@ package body Synth.Expr is
Set_Elem (Pos);
end if;
Pos := Pos + 1;
+ when Iir_Kind_Choice_By_Others =>
+ while Pos < Bound.Length loop
+ Set_Elem (Pos);
+ Pos := Pos + 1;
+ end loop;
when others =>
Error_Msg_Synth
(+Assoc, "unhandled association form");