diff options
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/go/gccgo.texi | 2 | ||||
-rw-r--r-- | gcc/go/gofrontend/lex.cc | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index c0a6dda..6c6ed9d 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,9 @@ +2016-02-12 Jakub Jelinek <jakub@redhat.com> + + * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and + neighbour -> neighbor. + * gccgo.texi: Likewise. + 2016-01-27 Ian Lance Taylor <iant@google.com> * go-lang.c (go_langhook_init_options_struct): Default to diff --git a/gcc/go/gccgo.texi b/gcc/go/gccgo.texi index 0c58a1e..88eb46a 100644 --- a/gcc/go/gccgo.texi +++ b/gcc/go/gccgo.texi @@ -284,7 +284,7 @@ package object files together into a single shared library or archive. At link time you must explicitly tell @command{gccgo} which files to link together into the executable, as is usual with @command{gcc}. -This is different from the behaviour of other Go compilers. +This is different from the behavior of other Go compilers. @node C Interoperability @chapter C Interoperability diff --git a/gcc/go/gofrontend/lex.cc b/gcc/go/gofrontend/lex.cc index 30167e5..34a0811 100644 --- a/gcc/go/gofrontend/lex.cc +++ b/gcc/go/gofrontend/lex.cc @@ -881,7 +881,7 @@ Lex::gather_identifier() && (cc < '0' || cc > '9')) { // Check for an invalid character here, as we get better - // error behaviour if we swallow them as part of the + // error behavior if we swallow them as part of the // identifier we are building. if ((cc >= ' ' && cc < 0x7f) || cc == '\t' @@ -922,7 +922,7 @@ Lex::gather_identifier() { // There is no valid place for a non-ASCII character // other than an identifier, so we get better error - // handling behaviour if we swallow this character after + // handling behavior if we swallow this character after // giving an error. if (!issued_error) error_at(this->location(), |