diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-12 18:40:47 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-12 20:36:01 +0100 |
commit | acdafdc2123b8e413d8433fec79aa30f7c5304d6 (patch) | |
tree | aa362c45938de69512dcae07e5dad1665c04f2c4 /src | |
parent | 3f17c91f6167f0e9c8286e07906802099dc1c52a (diff) | |
download | ghdl-acdafdc2123b8e413d8433fec79aa30f7c5304d6.tar.gz ghdl-acdafdc2123b8e413d8433fec79aa30f7c5304d6.tar.bz2 ghdl-acdafdc2123b8e413d8433fec79aa30f7c5304d6.zip |
synth-expr: reshape: handle consts.
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-expr.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index 43109aa84..b30aa94ce 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -767,6 +767,8 @@ package body Synth.Expr is return Create_Value_Net (Val.N, Ntype); when Value_Alias => return Create_Value_Alias (Val.A_Obj, Val.A_Off, Ntype); + when Value_Const => + return Reshape_Value (Val.C_Val, Ntype); when others => raise Internal_Error; end case; |