summaryrefslogtreecommitdiffstats
path: root/src/vhd2vl.y
diff options
context:
space:
mode:
authorRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-11-17 10:54:25 -0300
committerRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-11-17 10:54:25 -0300
commit4071e9bfbe2248d7b663d2e5c1b192855fb29585 (patch)
tree8b974c913933ffb7f476cf328c415fe321f806cf /src/vhd2vl.y
parent3d45f0322dca3cb60b818cb28afc077b6e6d29b3 (diff)
downloadvhdl2vl-4071e9bfbe2248d7b663d2e5c1b192855fb29585.tar.gz
vhdl2vl-4071e9bfbe2248d7b663d2e5c1b192855fb29585.zip
Parentheses were removed for CONVFUNC_1 (ex. to_integer)
Diffstat (limited to 'src/vhd2vl.y')
-rw-r--r--src/vhd2vl.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhd2vl.y b/src/vhd2vl.y
index f2f1475..e192058 100644
--- a/src/vhd2vl.y
+++ b/src/vhd2vl.y
@@ -2350,10 +2350,10 @@ simple_expr : signal {
$$=addexpr($1,'/'," / ",$3);
}
| CONVFUNC_1 '(' simple_expr ')' {
- /* one argument type conversion e.g. conv_integer(x) */
+ /* one argument type conversion e.g. to_integer(x) */
expdata *e;
e=xmalloc(sizeof(expdata));
- e->sl=addwrap("(",$3->sl,")");
+ e->sl=addsl(NULL,$3->sl);
$$=e;
}
| '(' simple_expr ')' {
OpenPOWER on IntegriCloud