]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: fix typo in comment
authorBenjamin Wu <bwu25@cs.washington.edu>
Wed, 13 Aug 2025 14:48:34 +0000 (10:48 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 13 Aug 2025 14:49:42 +0000 (10:49 -0400)
gcc/cp/ChangeLog:

* lex.cc (init_operators): Fix typo.

gcc/cp/lex.cc

index b7d2ac62b177d42f8f6aae12a97cdadc036e7f49..fa377e7783b4de40c3ce8380c4fa9e181609caee 100644 (file)
@@ -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];