]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Constify ada-lex.l:attributes
authorTom Tromey <tromey@adacore.com>
Thu, 14 Mar 2024 18:25:42 +0000 (12:25 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 2 Apr 2024 17:24:27 +0000 (11:24 -0600)
commit051889c8104c3c959b903d08e9afbcb7e9670c43
tree3b1bb88941f2cdf4b8298e3473805ee6ffef5cd5
parent0298128e07b7e58f93d745b657413e41766de3cb
Constify ada-lex.l:attributes

While examining the Ada parser globals with 'nm', I noticed that the
lexer's "attributes" array should be const.  This change moves it into
read-only storage.
gdb/ada-lex.l