summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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