shithub: mc

Download patch

ref: 64046d70836a316dd7ea1fc544cf5e30cb41b947
parent: 89e514d5355f9036a30c4a41cacc465e5999aa76
author: Ori Bernstein <[email protected]>
date: Mon Oct 28 15:58:41 EDT 2013

Allow blank lines between 'match' line and patterns

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -688,8 +688,8 @@
             {$$ = NULL;}
         ;
 
-matchstmt: Tmatch exprln Tbor matches Tendblk
-            {$$ = mkmatchstmt($1->line, $2, $4.nl, $4.nn);}
+matchstmt: Tmatch exprln endlns Tbor matches Tendblk
+            {$$ = mkmatchstmt($1->line, $2, $5.nl, $5.nn);}
          ;
 
 matches : match