Make two cp-name-parser.y constants "const"
authorTom Tromey <tom@tromey.com>
Wed, 30 May 2018 14:19:01 +0000 (08:19 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 1 Jun 2018 16:46:49 +0000 (10:46 -0600)
commit7b640f726819bedab1515ce49f03c0de26193b3b
treeaeab534ff133e15b58fe56231129533274c90dc9
parent98e69eb381347eb06dfedaa0b185ad26818ce5cd
Make two cp-name-parser.y constants "const"

This changes "backslashable" and "represented" in cp-name-parser.y to
be const.  This lets the compiler make them read-only (though in my
build it seems that GCC inlines them, which seems even better).

gdb/ChangeLog
2018-06-01  Tom Tromey  <tom@tromey.com>

* cp-name-parser.y (backslashable, represented): Now const.
gdb/ChangeLog
gdb/cp-name-parser.y
This page took 0.023948 seconds and 4 git commands to generate.