r223247 - in /trunk/libiberty: ChangeLog d-dema...
ibuclaw@gcc.gnu.org
ibuclaw@gcc.gnu.org
Sat May 16 16:50:00 GMT 2015
Author: ibuclaw
Date: Sat May 16 16:50:30 2015
New Revision: 223247
URL: https://gcc.gnu.org/viewcvs?rev=223247&root=gcc&view=rev
Log:
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.
Modified:
trunk/libiberty/ChangeLog
trunk/libiberty/d-demangle.c
trunk/libiberty/testsuite/d-demangle-expected
More information about the Gcc-cvs
mailing list