shithub: mc

Download patch

ref: 9193bdc08bcba1b515fb60d25b700963a454b90a
parent: af272f33d3f7f75006f78d925f57532d879bff31
author: Ori Bernstein <[email protected]>
date: Wed Aug 15 18:08:03 EDT 2012

Actually create the typaram.

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -282,6 +282,7 @@
              constrainwith($$, $3->name.name);}
         | Ttyparam Twith Toparen typaramlist Tcparen
             {size_t i;
+             $$ = mktyparam($1->line, $1->str);
              for (i = 0; i < $4.nn; i++)
                 constrainwith($$, $4.nl[i]->name.name);}
         ;