shithub: mc

Download patch

ref: 69d83a1be81a97e50f1b83a2cf327f96064f1152
parent: e1e9167cc8b847dfb3b37df4dc041d20ac271010
author: henesy <[email protected]>
date: Fri Mar 27 09:56:34 EDT 2020

Fix typo: s/intializer/initializer/g

--- a/parse/node.c
+++ b/parse/node.c
@@ -55,7 +55,7 @@
 		return 0;
         n = fold(sz, 1);
 	if (exprop(n) != Olit)
-		fatal(sz, "too much indirection when finding intializer. (initialization loop?)");
+		fatal(sz, "too much indirection when finding initializer. (initialization loop?)");
 
 	n = n->expr.args[0];
 	if (n->lit.littype != Lint)
--- a/parse/use.c
+++ b/parse/use.c
@@ -158,7 +158,7 @@
 }
 
 /* Writes the name and type of a variable,
- * but only writes its intializer for thing
+ * but only writes its initializer for thing
  * we want to inline cross-file (currently,
  * the only cross-file inline is generics) */
 static void
@@ -397,7 +397,7 @@
 	case Tyunres:
 		ty->name = unpickle(fd);
 		break;
-	case Typaram:	
+	case Typaram:
 		n = rdint(fd);
 		for (i = 0; i < n; i++)
 			rdtrait(fd, NULL, ty);