diff options
author | Ian Lance Taylor <iant@golang.org> | 2014-02-16 19:14:06 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-02-16 19:14:06 -0800 |
commit | 25a0a26259aec42f65e8bfc5d8eb8719ca899718 (patch) | |
tree | c4c816ede1c8d8e7df10157afd56d513e7bbba46 /src | |
parent | 325bf8a645d8a93600c3bbf77e851f9fd8767cb5 (diff) | |
download | go-25a0a26259aec42f65e8bfc5d8eb8719ca899718.tar.gz |
cmd/gc: correct function name in internal error messages
LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://codereview.appspot.com/64090043
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/gc/sinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/gc/sinit.c b/src/cmd/gc/sinit.c index f2100d53b..c4128a61b 100644 --- a/src/cmd/gc/sinit.c +++ b/src/cmd/gc/sinit.c @@ -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; |