Update libdparse

This commit is contained in:
Hackerpilot 2015-01-13 16:50:23 -08:00
parent 2beb6dd268
commit 1ac5ff1fd7
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 2022b769f751c835d4dd6f51642ca20753914579
Subproject commit f5c30c0528a81cecaed731272747c9bbfb68a355

View File

@ -308,7 +308,7 @@ private:
ACSymbol* processSuffix(ACSymbol* symbol, const TypeSuffix suffix, const Type t)
{
if (suffix.star)
if (suffix.star.type != tok!"")
return symbol;
if (suffix.array || suffix.type)
{

View File

@ -112,7 +112,7 @@ static this()
argptrType.type2 = allocate!Type2(Mallocator.it);
argptrType.type2.builtinType = tok!"void";
TypeSuffix argptrTypeSuffix = allocate!TypeSuffix(Mallocator.it);
argptrTypeSuffix.star = true;
argptrTypeSuffix.star = Token(tok!"*");
argptrType.typeSuffixes = cast(TypeSuffix[]) Mallocator.it.allocate(TypeSuffix.sizeof);
argptrType.typeSuffixes[0] = argptrTypeSuffix;