shithub: mc

Download patch

ref: f23f4fb57fa81db4c1c6c20814910e0d12c907af
parent: f2365d327bed87e68d94b9b458cf27b70efc9f4b
author: Ori Bernstein <[email protected]>
date: Mon Dec 16 11:12:50 EST 2013

Fix undo accidental line swap.

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -232,8 +232,8 @@
             {$$.nl = NULL; $$.nn = 0;
              lappend(&$$.nl, &$$.nn, $1);}
         | declbody Tcomma decllist
-             {$$=$3;
-             linsert(&$3.nl, &$3.nn, 0, $1);}
+             {linsert(&$3.nl, &$3.nn, 0, $1);
+             $$=$3;}
         ;
 
 use     : Tuse Tident