Fixes typo in lex.cc. Could someone help commit?

gcc/cp/ChangeLog:

      * lex.cc (init_operators): Fix typo.

---
 gcc/cp/lex.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/lex.cc b/gcc/cp/lex.cc
index 08a634830f5..053d0ee0647 100644
--- a/gcc/cp/lex.cc
+++ b/gcc/cp/lex.cc
@@ -172,7 +172,7 @@ init_operators (void)
   /* This loop iterates backwards because we need to move the
      assignment operators down to their correct slots.  I.e. morally
      equivalent to an overlapping memmove where dest > src.  Slot
-     zero is for error_mark, so hae no operator. */
+     zero is for error_mark, so has no operator. */
   for (unsigned ix = OVL_OP_MAX; --ix;)
     {
       ovl_op_info_t *op_ptr = &ovl_op_info[false][ix];
--
2.43.0

Reply via email to