[scc-dev] [PATCH 2/2] cc1: Fix comment typos

From: Zhaoming Luo <zhml_at_posteo.com>
Date: Fri, 16 Jan 2026 12:15:44 +0000

---
 src/cmd/scc-cc/cc1/cc1.h   | 2 +-
 src/cmd/scc-cc/cc1/types.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cmd/scc-cc/cc1/cc1.h b/src/cmd/scc-cc/cc1/cc1.h
index bbaed419..ab1d7fc7 100644
--- a/src/cmd/scc-cc/cc1/cc1.h
+++ b/src/cmd/scc-cc/cc1/cc1.h
_at_@ -325,7 +325,7 @@ struct type {
 		Symbol **fields;        /* fields of aggregate type */
 	} p;
 	union {
-		unsigned char rank;     /* convertion rank */
+		unsigned char rank;     /* conversion rank */
 		long long elem;         /* number of type parameters */
 	} n;
 	Type *next;                 /* local list pointer */
diff --git a/src/cmd/scc-cc/cc1/types.c b/src/cmd/scc-cc/cc1/types.c
index a5220a28..803b2859 100644
--- a/src/cmd/scc-cc/cc1/types.c
+++ b/src/cmd/scc-cc/cc1/types.c
_at_@ -199,7 +199,7 @@ typesize(Type *tp)
 		/* FIXME: Control overflow */
 		/*
 		 * The alignment of the struct/union is
-		 * he alignment of the largest included type.
+		 * the alignment of the largest included type.
 		 * The size of an union is the size of the largest
 		 * field, and the size of a struct is the sum
 		 * of the size of every field plus padding bits.
-- 
2.52.0
--
To unsubscribe send a mail to scc-dev+unsubscribe_at_simple-cc.org
Received on Fri 16 Jan 2026 - 13:15:44 CET

This archive was generated by hypermail 2.3.0 : Fri 16 Jan 2026 - 13:20:02 CET