shithub: mc

Download patch

ref: 7637d28123d59a0508ed68b24e2f83ef678482e5
parent: 6e6ce5029f094dfac9318672376f639989b072e4
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Mar 28 20:50:45 EDT 2015

Fix bug: We can tag tyvar.

    This should get cleaned up.

--- a/6/gengas.c
+++ b/6/gengas.c
@@ -527,6 +527,9 @@
 
     /* names are pulled out of line */
     tt = ty->type;
+    /* tyvars can get tagged, but aren't desired */
+    if (ty->type == Tyvar)
+        return;
     if (ty->type == Tyname)
         tt |= Tdindirect;
     fprintf(fd, "\t.byte %d\n", tt);