summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-11-17 11:56:17 -0300
committerRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-11-17 11:56:17 -0300
commit252871d16f6694591957af674202b73416f31dae (patch)
treeb2a4f2f983404251f295a87a752a7d639be470b5 /src
parentb9b93adac2d304792b33455542a84d2f310a82ef (diff)
downloadvhdl2vl-252871d16f6694591957af674202b73416f31dae.tar.gz
vhdl2vl-252871d16f6694591957af674202b73416f31dae.zip
Removed extra parentheses when parentheses are used
Diffstat (limited to 'src')
-rw-r--r--src/vhd2vl.y3
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;
}
;
OpenPOWER on IntegriCloud