Patchwork [FYI] Fix comment in field_kind

login
register
mail settings
Submitter Tom Tromey
Date Dec. 19, 2019, 6:14 p.m.
Message ID <20191219181432.7717-1-tromey@adacore.com>
Download mbox | patch
Permalink /patch/36967/
State New
Headers show

Comments

Tom Tromey - Dec. 19, 2019, 6:14 p.m.
Christian pointed out that the new comment in field_kind is
un-grammatical.  This fixes it.

gdb/ChangeLog
2019-12-19  Tom Tromey  <tromey@adacore.com>

	* ui-out.h (enum class field_kind): Fix comment.

Change-Id: I6608ff18e29f1af98a0ff77012afe28b3d4602f4
---
 gdb/ChangeLog | 4 ++++
 gdb/ui-out.h  | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

Patch

diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index c3ef8a57006..a176e0e7970 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -77,9 +77,9 @@  enum ui_out_type
 /* The possible kinds of fields.  */
 enum class field_kind
   {
-    /* "FIELD_STRING" needs has a funny name to avoid clashes with
-       tokens named "STRING".  See PR build/25250.  FIELD_SIGNED is
-       given a similar name for consistency.  */
+    /* "FIELD_STRING" needs a funny name to avoid clashes with tokens
+       named "STRING".  See PR build/25250.  FIELD_SIGNED is given a
+       similar name for consistency.  */
     FIELD_SIGNED,
     FIELD_STRING,
   };