diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-04-16 19:03:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-04-16 19:03:15 +0200 |
commit | f549640aa2a4dbf8e4d386092112de07239a9343 (patch) | |
tree | 7b359172893ba686bdd9c5bb90b55db19133e7c9 /src | |
parent | 9a2709515197bf90a545262025d943be978d2db4 (diff) | |
download | ghdl-f549640aa2a4dbf8e4d386092112de07239a9343.tar.gz ghdl-f549640aa2a4dbf8e4d386092112de07239a9343.tar.bz2 ghdl-f549640aa2a4dbf8e4d386092112de07239a9343.zip |
synth-expr: handle others in aggregate.
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-expr.adb | 5 |
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"); |