d-demangle.c (dlang_identifier): Handle template constraint symbols.
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 1 May 2017 10:45:35 +0000 (10:45 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Mon, 1 May 2017 10:45:35 +0000 (10:45 +0000)
commitc6f44bae7e0a338b533e541c8e369b920ffe83f0
treed59ae1b5e2dbe768d6d985e73923cf5239fedbbe
parentec89d258a04492c4b664850b5679dfe7cf247ceb
d-demangle.c (dlang_identifier): Handle template constraint symbols.

libiberty/ChangeLog:

* d-demangle.c (dlang_identifier): Handle template constraint symbols.
(dlang_parse_template): Only advance if template symbol prefix is
followed by a digit.
* testsuite/d-demangle-expected: Add tests.

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