]> git.ipfire.org Git - thirdparty/gcc.git/commit
d-demangle.c (dlang_symbol_kinds): New enum.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2015 16:50:30 +0000 (16:50 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sat, 16 May 2015 16:50:30 +0000 (16:50 +0000)
commit7e8655412c7e9438f76e417f055db2505133a949
tree6c4ad6555ca0523a18e5f1e64bfc11529480e27a
parented4cdb8502c67b7cafa4d939a52d4ac6ac1db65d
d-demangle.c (dlang_symbol_kinds): New enum.

libiberty/ChangeLog:

2015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>

* d-demangle.c (dlang_symbol_kinds): New enum.
(dlang_parse_symbol): Update signature.  Handle an ambiguity between
pascal functions and template value arguments.  Only check for a type
if parsing a function, or at the top level.  Return failure if the
entire symbol was not successfully demangled.
(dlang_identifier): Update signature.  Handle an ambiguity between two
adjacent digits in a mangled symbol string.
(dlang_type): Update call to dlang_parse_symbol.
(dlang_template_args): Likewise.
(dlang_parse_template): Likewise.
(dlang_demangle): Likewise.
* testsuite/d-demangle-expected: Fix bad tests found, and add problematic
examples to the unittests.

From-SVN: r223247
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected