]> Cypherpunks repositories - gostls13.git/commit
cmd/asm/internal/lex: format error correctly
authorDominik Honnef <dominik@honnef.co>
Wed, 28 Oct 2015 06:44:35 +0000 (07:44 +0100)
committerIan Lance Taylor <iant@golang.org>
Sun, 8 Nov 2015 19:17:54 +0000 (19:17 +0000)
commit53d42fbead530b4b34c217a9d49de5b50bf433fa
tree531cf581f7bcad5b3f4c73ae363a470352fd2c71
parent11cf5da0e3166bc21dfbf37169b69fdc9e9f0652
cmd/asm/internal/lex: format error correctly

Error doesn't take a format string and appends its own newline. Phrase
the error like the other ones.

Change-Id: Ic3af857e5d4890207c74a6eb59a0d1067b503e1b
Reviewed-on: https://go-review.googlesource.com/16420
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/asm/internal/lex/input.go