summaryrefslogtreecommitdiffstats
path: root/src/vhd2vl.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhd2vl.y')
-rw-r--r--src/vhd2vl.y5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vhd2vl.y b/src/vhd2vl.y
index 0848952..682c802 100644
--- a/src/vhd2vl.y
+++ b/src/vhd2vl.y
@@ -917,7 +917,7 @@ slist *emit_io_list(slist *sl)
/* rule for "...ELSE IF edge THEN..." causes 1 shift/reduce conflict */
/* rule for opt_begin causes 1 shift/reduce conflict */
-%expect 3
+%expect 2
/* glr-parser is needed because processes can start with if statements, but
* not have edges in them - more than one level of look-ahead is needed in that case
@@ -2373,9 +2373,6 @@ expr : signal {
/* two argument type conversion e.g. to_unsigned(x, 3) */
$$ = addnest($3);
}
- | CONVFUNC_2 '(' expr ',' NAME ')' {
- $$ = addnest($3);
- }
| '(' expr ')' {
$$ = addnest($2);
}
OpenPOWER on IntegriCloud