Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Update core.demangle to follow the newest mangling scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Jan 10, 2015
1 parent a0c35e1 commit 94b416b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/demangle.d
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,10 @@ private struct Demangle
TemplateArg TemplateArgs
TemplateArg:
TemplateArgX
H TemplateArgX
TemplateArgX:
T Type
V Type Value
S LName
Expand All @@ -1315,6 +1319,9 @@ private struct Demangle

for( size_t n = 0; true; n++ )
{
if( tok() == 'H' )
next();

switch( tok() )
{
case 'T':
Expand Down Expand Up @@ -1909,6 +1916,8 @@ version(unittest)
["_D3foo3Bar6__vtblZ", "foo.Bar.__vtbl"],
["_D3foo3Bar11__interfaceZ", "foo.Bar.__interface"],
["_D3foo7__arrayZ", "foo.__array"],
["_D8link657428__T3fooVE8link65746Methodi0Z3fooFZi", "int link6574.foo!(0).foo()"],
["_D8link657429__T3fooHVE8link65746Methodi0Z3fooFZi", "int link6574.foo!(0).foo()"],
];

template staticIota(int x)
Expand Down

0 comments on commit 94b416b

Please sign in to comment.