commit | b64e3e1c36eec33cd535cee7ff65de0e3e826e31 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Thu Mar 14 12:09:55 2024 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Tue Apr 02 11:24:27 2024 -0600 |
tree | c7c11686f6b6df1c556960330df1feb58d842173 | |
parent | 542ea7fe46deb713268364fa7b1a3333360e1044 [diff] |
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.