aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-19 11:12:29 -0700
committerTom Tromey <tromey@adacore.com>2019-12-19 11:12:29 -0700
commit2032eb7e934e65ab071f2a6ee8ce92327715d01d (patch)
tree68521ef6bf295424b70372d9595bfe3810e5aa0b
parentf69656d00fe3154519ea21668d964bf8cc50c01b (diff)
downloadgdb-2032eb7e934e65ab071f2a6ee8ce92327715d01d.zip
gdb-2032eb7e934e65ab071f2a6ee8ce92327715d01d.tar.gz
gdb-2032eb7e934e65ab071f2a6ee8ce92327715d01d.tar.bz2
Fix comment in field_kind
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
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ui-out.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 532dc63..aad9c63 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-19 Tom Tromey <tromey@adacore.com>
+
+ * ui-out.h (enum class field_kind): Fix comment.
+
2019-12-11 Tom Tromey <tromey@adacore.com>
* xml-support.c (xml_fetch_content_from_file): Use FOPEN_RB.
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index c3ef8a5..a176e0e 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,
};