summaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/gofrontend/lex.cc')
-rw-r--r--gcc/go/gofrontend/lex.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/lex.cc b/gcc/go/gofrontend/lex.cc
index 30167e581ac..34a0811abef 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(),