shithub: mc

Download patch

ref: ae405996d14eab42a296d8a7dec83eed1e4097c6
parent: 864bb51df3c903276457c91a292c70f73e621daf
author: Ori Bernstein <[email protected]>
date: Tue Oct 7 13:54:23 EDT 2014

Usefiles record whether a variable is a noret var.

--- a/parse/use.c
+++ b/parse/use.c
@@ -147,6 +147,7 @@
     wrbool(fd, val->decl.isgeneric);
     wrbool(fd, val->decl.isextern);
     wrbool(fd, val->decl.ispkglocal);
+    wrbool(fd, val->decl.isnoret);
     wrbool(fd, val->decl.isexportinit);
     if (val->decl.isexportinit) {
         pickle(fd, val->decl.init);
@@ -171,6 +172,7 @@
     n->decl.isgeneric = rdbool(fd);
     n->decl.isextern = rdbool(fd);
     n->decl.ispkglocal = rdbool(fd);
+    n->decl.isnoret = rdbool(fd);
     n->decl.isimport = 1;
     n->decl.isexportinit = rdbool(fd);
     if (n->decl.isexportinit)