diff options
author | Rodrigo Alejandro Melo <rmelo@inti.gob.ar> | 2017-11-17 11:56:17 -0300 |
---|---|---|
committer | Rodrigo Alejandro Melo <rmelo@inti.gob.ar> | 2017-11-17 11:56:17 -0300 |
commit | 252871d16f6694591957af674202b73416f31dae (patch) | |
tree | b2a4f2f983404251f295a87a752a7d639be470b5 /src/vhd2vl.y | |
parent | b9b93adac2d304792b33455542a84d2f310a82ef (diff) | |
download | vhdl2vl-252871d16f6694591957af674202b73416f31dae.tar.gz vhdl2vl-252871d16f6694591957af674202b73416f31dae.zip |
Removed extra parentheses when parentheses are used
Diffstat (limited to 'src/vhd2vl.y')
-rw-r--r-- | src/vhd2vl.y | 3 |
1 files changed, 2 insertions, 1 deletions
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; } ; |