aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-25 20:54:57 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 20:54:57 +0200
commit14c81512c7cce51e7781d527bd82be9ed5f34be3 (patch)
tree899e016dc4602e6aa9d935f5363d21dfb94eba8c /src
parent6af16f78aa9085e937a31167d3df288cc06671ea (diff)
downloadghdl-14c81512c7cce51e7781d527bd82be9ed5f34be3.tar.gz
ghdl-14c81512c7cce51e7781d527bd82be9ed5f34be3.tar.bz2
ghdl-14c81512c7cce51e7781d527bd82be9ed5f34be3.zip
synth-stmts: allow slice as case expression.
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-stmts.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-stmts.adb b/src/synth/synth-stmts.adb
index bc9884af1..324c9526a 100644
--- a/src/synth/synth-stmts.adb
+++ b/src/synth/synth-stmts.adb
@@ -886,7 +886,7 @@ package body Synth.Stmts is
-- - divide and conquier
-- Create a net for the expression.
- Sel := Synth_Expression (C.Inst, Expr);
+ Sel := Synth_Expression_With_Basetype (C.Inst, Expr);
-- Count choices and alternatives.
Count_Choices (Case_Info, Choices);