libdparse update

This commit is contained in:
Hackerpilot 2014-12-03 16:21:36 -08:00
parent 2ce4f6a8d3
commit 3d50a8beab
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ GDC := gdc
LDC := ldc2
githash:
git log -n 1 --oneline | cut -f 1 -d ' ' > githash.txt
git log -1 --format="%H" > githash.txt
report:
dscanner --report src > dscanner-report.json
@ -133,7 +133,6 @@ debugserver: githash
rm -f containers/src/std/allocator.d
${DMD} ${SERVER_SRC} ${DEBUG_SERVER_FLAGS}
gdcclient: githash
mkdir -p bin
rm -f containers/src/std/allocator.d

View File

@ -174,8 +174,9 @@ final class FirstPass : ASTVisitor
override void visit(const BaseClass bc)
{
// Log.trace(__FUNCTION__, " ", typeof(bc).stringof);
currentSymbol.baseClasses.insert(iotcToStringArray(symbolAllocator,
bc.identifierOrTemplateChain));
if (bc.type2.identifierOrTemplateChain !is null)
currentSymbol.baseClasses.insert(iotcToStringArray(symbolAllocator,
bc.type2.identifierOrTemplateChain));
}
override void visit(const VariableDeclaration dec)