From 465b041e9f81de03f3679b34184c175450f5f5ca Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 17 Apr 2020 07:24:13 +0200 Subject: synth-expr: handle parenthesis_expression. Fix #1234 --- src/synth/synth-expr.adb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index 5125e2ee8..420dad946 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -1940,6 +1940,9 @@ package body Synth.Expr is return Synth.Aggr.Synth_Aggregate (Syn_Inst, Expr, Expr_Type); when Iir_Kind_Simple_Aggregate => return Synth_Simple_Aggregate (Syn_Inst, Expr); + when Iir_Kind_Parenthesis_Expression => + return Synth_Expression_With_Type + (Syn_Inst, Get_Expression (Expr), Expr_Type); when Iir_Kind_Left_Array_Attribute => declare B : Bound_Type; -- cgit v1.2.3