]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: correct function name in internal error messages
authorIan Lance Taylor <iant@golang.org>
Mon, 17 Feb 2014 03:14:06 +0000 (19:14 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 17 Feb 2014 03:14:06 +0000 (19:14 -0800)
LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/64090043

src/cmd/gc/sinit.c

index f2100d53b7edd4cdcab89e13045f07f764756e65..c4128a61bc71a0534bd4500d57582bfe082d05e6 100644 (file)
@@ -857,7 +857,7 @@ ctxt = 0;
                r = l->n;
 
                if(r->op != OKEY)
-                       fatal("slicelit: rhs not OKEY: %N", r);
+                       fatal("maplit: rhs not OKEY: %N", r);
                index = r->left;
                value = r->right;
 
@@ -901,7 +901,7 @@ ctxt = 0;
                        r = l->n;
 
                        if(r->op != OKEY)
-                               fatal("slicelit: rhs not OKEY: %N", r);
+                               fatal("maplit: rhs not OKEY: %N", r);
                        index = r->left;
                        value = r->right;
 
@@ -965,7 +965,7 @@ ctxt = 0;
                r = l->n;
 
                if(r->op != OKEY)
-                       fatal("slicelit: rhs not OKEY: %N", r);
+                       fatal("maplit: rhs not OKEY: %N", r);
                index = r->left;
                value = r->right;