]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix bug in Ada number lexing
authorTom Tromey <tromey@adacore.com>
Fri, 8 Apr 2022 16:11:58 +0000 (10:11 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 12 Apr 2022 18:59:28 +0000 (12:59 -0600)
commit36baf73637c4bd7fdaa9c6318c4c8071d82ac616
tree898bdcc4c922e7b043af8fdcb897f810ce59bff3
parenta8b7a1391135b63de73c1bf0e0a2f8f5dc8c6ba6
Fix bug in Ada number lexing

On irc, Pedro pointed out that Ada couldn't properly handle
0xffffffffffffffff.  This used to work, but is a regression due to
some patches I wrote in the Ada lexer.  This patch fixes the bug.
gdb/ada-lex.l
gdb/testsuite/gdb.ada/literals.exp
gdb/testsuite/gdb.base/parse_number.exp