]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/d-exp.y
Rename `typename' in d-exp.y to avoid C++ reserved word
authorKeith Seitz <keiths@redhat.com>
Sat, 15 Aug 2015 00:28:11 +0000 (17:28 -0700)
committerKeith Seitz <keiths@redhat.com>
Sat, 15 Aug 2015 00:28:11 +0000 (17:28 -0700)
commitb56ccc202ab674998baf52a710d736702734f9ab
tree012c3de88927a803522c4a5311d4bceccbc4a8c6
parenta057aa3c457ba38ca25ff1ed13a30c629bb0f259
Rename `typename' in d-exp.y to avoid C++ reserved word

A recent patch introduced a variable named `typename' into d-exp.y,
and one of the --enable-with-cxx build slaves consequently failed to compile
this.  This patch simply adds an underscore into the name to avoid the
reserved word.

gdb/ChangeLog

* d-exp.y (PrimaryExpression : TypeExp '.' IdentifierExp): Rename
`typename' to `type_name' to avoid C++ reserved word.
gdb/ChangeLog
gdb/d-exp.y