cmd/gc: correct function name in internal error messages

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/64090043
This commit is contained in:
Ian Lance Taylor 2014-02-16 19:14:06 -08:00
parent c3922f0a63
commit 637e1f7da0
1 changed files with 3 additions and 3 deletions

View 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;