]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Introduce ada_parse_state
authorTom Tromey <tromey@adacore.com>
Thu, 14 Mar 2024 18:09:55 +0000 (12:09 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 2 Apr 2024 17:24:27 +0000 (11:24 -0600)
commitb64e3e1c36eec33cd535cee7ff65de0e3e826e31
treec7c11686f6b6df1c556960330df1feb58d842173
parent542ea7fe46deb713268364fa7b1a3333360e1044
Introduce ada_parse_state

This patch introduces the ada_parse_state class and the ada_parser
global.  It also changes find_completion_bounds to be a method of this
new type.

Note that find_completion_bounds never used its parameter; and because
it is generally fine to use the 'pstate' global throughout the parser,
this patch removes the parameter entirely.
gdb/ada-exp.y