summaryrefslogtreecommitdiff
path: root/parse/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse/gram.y')
-rw-r--r--parse/gram.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/parse/gram.y b/parse/gram.y
index dc91cb8..4693e38 100644
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -979,12 +979,10 @@ matchstmt: Tmatch exprln optendlns Tbor matches Tendblk
matches : match {
$$.nl = NULL;
$$.nn = 0;
- if ($1)
- lappend(&$$.nl, &$$.nn, $1);
+ lappend(&$$.nl, &$$.nn, $1);
}
| matches Tbor match {
- if ($2)
- lappend(&$$.nl, &$$.nn, $3);
+ lappend(&$$.nl, &$$.nn, $3);
}
;