Use bool in binutils
* sysdep.h (POISON_BFD_BOOLEAN): Define. * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, * windmc.c, * windmc.h, * windres.c, * winduni.c, * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout.
This commit is contained in:
parent
78933a4ad9
commit
015dc7e1f8
37 changed files with 3241 additions and 3244 deletions
|
@ -34,9 +34,9 @@
|
|||
#include <assert.h>
|
||||
|
||||
/* Exported globals. */
|
||||
bfd_boolean mclex_want_nl = FALSE;
|
||||
bfd_boolean mclex_want_line = FALSE;
|
||||
bfd_boolean mclex_want_filename = FALSE;
|
||||
bool mclex_want_nl = false;
|
||||
bool mclex_want_line = false;
|
||||
bool mclex_want_filename = false;
|
||||
|
||||
/* Local globals. */
|
||||
static unichar *input_stream = NULL;
|
||||
|
@ -365,7 +365,7 @@ yylex (void)
|
|||
&& (input_stream_pos[1] == '\n'
|
||||
|| (input_stream_pos[1] == '\r' && input_stream_pos[2] == '\n')))
|
||||
{
|
||||
mclex_want_line = FALSE;
|
||||
mclex_want_line = false;
|
||||
return skip_until_eol () ? MCENDLINE : -1;
|
||||
}
|
||||
if (!skip_until_eol ())
|
||||
|
@ -383,7 +383,7 @@ yylex (void)
|
|||
input_line += 1;
|
||||
if (mclex_want_nl && ch == '\n')
|
||||
{
|
||||
mclex_want_nl = FALSE;
|
||||
mclex_want_nl = false;
|
||||
return NL;
|
||||
}
|
||||
}
|
||||
|
@ -391,7 +391,7 @@ yylex (void)
|
|||
++input_stream_pos;
|
||||
if (mclex_want_filename)
|
||||
{
|
||||
mclex_want_filename = FALSE;
|
||||
mclex_want_filename = false;
|
||||
if (ch == '"')
|
||||
{
|
||||
start_token++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue