Fix bug in Ada attributes lexing
authorTom Tromey <tromey@adacore.com>
Tue, 22 Feb 2022 19:02:10 +0000 (12:02 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 4 Apr 2022 18:46:08 +0000 (12:46 -0600)
commit45016746f1a992e7300cae74761c681a8a3f4fe7
treea609743440e8e2a6494e03d7db223853ba16eaad
parentc3f2a3738a3603f51e3621504d8207767526add9
Fix bug in Ada attributes lexing

The Ada lexer allows whitespace between the apostrophe and the
attribute text, but processAttribute does not handle this.  This patch
fixes the problem and introduces a regression test.
gdb/ada-lex.l
gdb/testsuite/gdb.ada/formatted_ref.exp