summaryrefslogtreecommitdiff
path: root/src/cmd/gc
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-05-25 10:19:50 -0400
committerRuss Cox <rsc@golang.org>2011-05-25 10:19:50 -0400
commitc679e8518defc0aabec4bdd7269a53c6aec52e84 (patch)
treea3f78aee5f65e3e7519896ba86eec9f52e4ce7e7 /src/cmd/gc
parenta814d2c931891ee8b3ee7700b0bfa1c9086d2490 (diff)
downloadgo-c679e8518defc0aabec4bdd7269a53c6aec52e84.tar.gz
gc: typo
R=ken2 CC=golang-dev http://codereview.appspot.com/4539086
Diffstat (limited to 'src/cmd/gc')
-rw-r--r--src/cmd/gc/sinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gc/sinit.c b/src/cmd/gc/sinit.c
index be96a1477..eb7ef31ec 100644
--- a/src/cmd/gc/sinit.c
+++ b/src/cmd/gc/sinit.c
@@ -173,10 +173,10 @@ initfix(NodeList *l)
/*
* from here down is the walk analysis
- * of composit literals.
+ * of composite literals.
* most of the work is to generate
* data statements for the constant
- * part of the composit literal.
+ * part of the composite literal.
*/
static void structlit(int ctxt, int pass, Node *n, Node *var, NodeList **init);