shithub: mc

Download patch

ref: 8184a8cc1c688fff3e9a6b63c78d60347ec1552e
parent: c87d318d74c70aa998b7188564a22f687dae99b9
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)