Rename split_style::DOT
authorTom Tromey <tromey@adacore.com>
Thu, 31 Aug 2023 13:33:34 +0000 (07:33 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 15 Sep 2023 13:39:47 +0000 (07:39 -0600)
commitfe26aa95336c0ddec01b407b990caf2c758fd93f
tree5b64d93e18fd62fe5a8505073f44d3cb70a4fa11
parent0a43fbaa23a5eaf4254a51fa43ef61a6e28c9bd6
Rename split_style::DOT

This renames split_style::DOT, to avoid name clashes when building gdb
with an old version of Bison (2.3, the version available on macOS).

In particular the error looks like:

./split-name.h:34:3: error: expected identifier
  DOT,
  ^
m2-exp.c:163:13: note: expanded from macro 'DOT'

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30286
gdb/dwarf2/cooked-index.c
gdb/split-name.c
gdb/split-name.h
gdb/symtab.h