mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-26 10:43:31 +08:00
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.
This commit is contained in:
parent
eb6af80922
commit
115f7325b5
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user