]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix grammar error in dwarf2/attribute.h
authorTom Tromey <tromey@adacore.com>
Wed, 19 Mar 2025 19:40:47 +0000 (13:40 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 20 Mar 2025 12:35:46 +0000 (06:35 -0600)
A recent patch of mine had a comment with bad grammar; apparently I
didn't finish editing it.  This patch cleans it up.

gdb/dwarf2/attribute.h

index 4dce04d65bb989cb673220c314721f4b2a6117af..ce6c5639c1ae25644844447399988648842d8f58 100644 (file)
@@ -105,8 +105,8 @@ struct attribute
   /* Return an unsigned constant value.  This only handles constant
      forms (i.e., form_is_constant -- and not the extended list of
      "unsigned" forms) and assumes an unsigned value is desired.  This
-     can intended for use with DWARF-defined enumerations like DW_CC_*
-     or DW_INL_*, but also in situations where a nonnegative constant
+     can be used with DWARF-defined enumerations like DW_CC_* or
+     DW_INL_*, but also in situations where a nonnegative constant
      integer is specified by DWARF.
 
      If a signed form and negative value is used, or if a non-constant