From 252871d16f6694591957af674202b73416f31dae Mon Sep 17 00:00:00 2001 From: Rodrigo Alejandro Melo Date: Fri, 17 Nov 2017 11:56:17 -0300 Subject: Removed extra parentheses when parentheses are used --- src/vhd2vl.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/vhd2vl.y b/src/vhd2vl.y index c70664a..bbc15f3 100644 --- a/src/vhd2vl.y +++ b/src/vhd2vl.y @@ -2352,7 +2352,8 @@ simple_expr : signal { | '(' simple_expr ')' { expdata *e; e=xmalloc(sizeof(expdata)); - e->sl=addwrap("(",$2->sl,")"); + //e->sl=addwrap("(",$2->sl,")"); + e->sl=addsl(NULL,$2->sl); $$=e; } ; -- cgit v1.2.1