diff options
author | Pedro Alves <palves@redhat.com> | 2015-11-28 16:39:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-28 16:39:32 +0000 |
commit | 16807a48edfdfe89c8f8f745edeb938ef0b7e5eb (patch) | |
tree | bc7f513ce97bac7f79e85ecef6e27226264117d3 /gdb/cp-name-parser.y | |
parent | 3b16c5514a2e01d47295e8d82cecd6b62db62955 (diff) | |
download | binutils-gdb-16807a48edfdfe89c8f8f745edeb938ef0b7e5eb.tar.gz |
Adjust GDB to demangler API change
Before commit 3a8724032abf, DEMANGLE_COMPONENT_CAST was used for both
casts and conversion operators. We now have
DEMANGLE_COMPONENT_CONVERSION for the latter.
gdb/ChangeLog:
2014-11-28 Pedro Alves <palves@redhat.com>
* cp-name-parser.y (conversion_op): Use
DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST.
Diffstat (limited to 'gdb/cp-name-parser.y')
-rw-r--r-- | gdb/cp-name-parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y index cbbb0e88edb..c7a3f123b9d 100644 --- a/gdb/cp-name-parser.y +++ b/gdb/cp-name-parser.y @@ -528,7 +528,7 @@ oper : OPERATOR NEW since it's not clear that it's parseable. */ conversion_op : OPERATOR typespec_2 - { $$ = fill_comp (DEMANGLE_COMPONENT_CAST, $2, NULL); } + { $$ = fill_comp (DEMANGLE_COMPONENT_CONVERSION, $2, NULL); } ; conversion_op_name |