shithub: mc

Download patch

ref: 3b5f150788ac70ab6e9a1eea1017f1f00111ad5f
parent: 1ba0be918be8f606f8ee165eefc6c43be2fd3f0c
author: Ori Bernstein <[email protected]>
date: Thu Jun 7 20:53:21 EDT 2012

Clean up comments a bit.mapping

--- a/parse/infer.c
+++ b/parse/infer.c
@@ -45,7 +45,7 @@
     t->resolved = 1;
 }
 
-/* find the most accurate type mapping */
+/* find the most accurate type mapping we have */
 static Type *tf(Type *t)
 {
     Type *lu;
@@ -90,7 +90,6 @@
         /* readuse(n->file.uses[i], n->file.globls); */
 }
 
-/* a => b */
 static void settype(Node *n, Type *t)
 {
     t = tf(t);
@@ -598,3 +597,4 @@
     checkcast(file);
     typesub(file);
 }
+