shithub: mc

Download patch

ref: 87cb410f45da23b97e79f3949b4d6ebf779cf986
parent: 6f83d942aeb7c284341be7b1e514d994cc17b715
author: Ori Bernstein <[email protected]>
date: Sat Jun 16 20:48:44 EDT 2012

Store the name of a package into the export stab

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -198,6 +198,7 @@
         ;
 
 package : Tpkg Tident Tasn pkgbody Tendblk
+            {file->file.exports->name = mkname($2->line, $1->str);}
         ;