This changes one spot in ada-lang.c to use block::is_static_block
rather than a hand-rolled implementation. Note this also fixes the
call -- what is currently written there is wrong.
Approved-By: Tom de Vries <tdevries@suse.de>
for (b = get_selected_block (0); b != NULL; b = b->superblock ())
{
- if (!b->superblock ())
+ if (b->is_static_block ())
surrounding_static_block = b; /* For elmin of dups */
for (struct symbol *sym : block_iterator_range (b))