Update libdparse
This commit is contained in:
parent
2beb6dd268
commit
1ac5ff1fd7
|
@ -1 +1 @@
|
|||
Subproject commit 2022b769f751c835d4dd6f51642ca20753914579
|
||||
Subproject commit f5c30c0528a81cecaed731272747c9bbfb68a355
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue