diff options
author | David Malcolm <dmalcolm@redhat.com> | 2018-06-05 18:22:25 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-06-05 18:22:25 +0100 |
commit | 115f7325b5b76450b9a1d16848a2a54f54e49747 (patch) | |
tree | d14f226efecf5df9bb60344fe33ed07f0a2e140e | |
parent | eb6af80922a56b67228f7564facc4cb4aa44a0ae (diff) | |
download | gdb-115f7325b5b76450b9a1d16848a2a54f54e49747.zip gdb-115f7325b5b76450b9a1d16848a2a54f54e49747.tar.gz gdb-115f7325b5b76450b9a1d16848a2a54f54e49747.tar.bz2 |
Fix typo in common/enum-flags.h example
The DEF_ENUM_FLAGS_TYPE macro should be used with a trailing
semicolon, but the example in the comment lacks one.
gdb/ChangeLog:
2018-06-05 David Malcolm <dmalcolm@redhat.com>
* common/enum-flags.h: Add trailing semicolon to example in
comment.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/enum-flags.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85c62db..54205a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-06-05 David Malcolm <dmalcolm@redhat.com> + + * common/enum-flags.h: Add trailing semicolon to example in + comment. + 2018-06-05 Tom Tromey <tom@tromey.com> PR cli/12326: diff --git a/gdb/common/enum-flags.h b/gdb/common/enum-flags.h index 65732c1..82568a5 100644 --- a/gdb/common/enum-flags.h +++ b/gdb/common/enum-flags.h @@ -32,7 +32,7 @@ flag_val3 = 1 << 3, flag_val4 = 1 << 4, }; - DEF_ENUM_FLAGS_TYPE(enum some_flag, some_flags) + DEF_ENUM_FLAGS_TYPE(enum some_flag, some_flags); some_flags f = flag_val1 | flag_val2; f |= flag_val3; |