commit 8e32d090646d3eddcd4206c11920afc3a2c89137
parent cd97844f7cd875616f4b97c675b08ce41aee9df3
Author: Zhaoming Luo <zhml@posteo.com>
Date: Fri, 16 Jan 2026 12:15:44 +0000
cc1: Fix comment typos
Diffstat:
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
@@ -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
@@ -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.