Use bool for "parse_completion"
authorTom Tromey <tromey@adacore.com>
Wed, 10 Mar 2021 18:50:09 +0000 (11:50 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 10 Mar 2021 18:50:09 +0000 (11:50 -0700)
commit7056f312d00682bfd44a1b2b8149e8faf3e7b9dd
tree2b0151816275e5d0f5637102903b65560dccca51
parentb763d508db481ae3721a80392a1b02e681662d23
Use bool for "parse_completion"

Some spots in GDB already use bool for "parse_completion", but a few
were still using int.  This patch updates these to bool.

I'm checking this in.

gdb/ChangeLog
2021-03-10  Tom Tromey  <tromey@adacore.com>

* parser-defs.h (parser_state): Change completion to bool.
<parse_completion>: Likewise.
* ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall)
(ada_resolve_variable, ada_resolve_function): Update.
* ada-lang.c (ada_find_operator_symbol): Change
parse_completion to bool.
(ada_resolve_funcall, ada_resolve_variable)
(ada_resolve_function): Likewise.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-lang.h
gdb/parser-defs.h