Use 'const' in ada-exp.y
authorTom Tromey <tromey@adacore.com>
Fri, 2 Jul 2021 19:22:18 +0000 (13:22 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 2 Jul 2021 19:22:47 +0000 (13:22 -0600)
commit57bb96d3a2cefb222c9785df9605114db201d135
tree0eca412d1367e4584977fa49ff69e3b9a303cd7e
parent90b044ef102df5bf7929c71fc9465f23279eabdd
Use 'const' in ada-exp.y

I found a few spots in ada-exp.y that could use 'const'.
Tested by rebuilding.

2021-07-02  Tom Tromey  <tromey@adacore.com>

* ada-exp.y (chop_selector, chop_separator, write_selectors)
(write_ambiguous_var, get_symbol_field_type): Use const.
gdb/ChangeLog
gdb/ada-exp.y