Remove some "goto"s from parse.c
authorTom Tromey <tromey@adacore.com>
Mon, 24 Apr 2023 19:03:03 +0000 (13:03 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 25 Apr 2023 17:54:28 +0000 (11:54 -0600)
commitfc53c8e02183b61a9df0224de1d7016fb52960ba
tree9544283bd5820c8acd59a7108ed1051c800299ae
parent8f5cd47bee6c07c33aeda758d8d8db5f81ae03e7
Remove some "goto"s from parse.c

parser_state::push_dollar has some unnecessary "goto"s.  Replacing
them cleans up the code.  Regression tested on x86-64 Fedora 36.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/parse.c