Save progress
This commit is contained in:
parent
0088c05a2f
commit
64d647198b
|
|
@ -463,7 +463,8 @@ final class FirstPass : ASTVisitor
|
||||||
if (IdentifierOrTemplateInstance iot = ue.identifierOrTemplateInstance)
|
if (IdentifierOrTemplateInstance iot = ue.identifierOrTemplateInstance)
|
||||||
buildChainTemplateOrIdentifier(symbol, lookup, ctx, iot);
|
buildChainTemplateOrIdentifier(symbol, lookup, ctx, iot);
|
||||||
|
|
||||||
if(ue.unaryExpression) traverseUnaryExpression(symbol, lookup, ctx, ue.unaryExpression);
|
if(ue.unaryExpression)
|
||||||
|
traverseUnaryExpression(symbol, lookup, ctx, ue.unaryExpression);
|
||||||
}
|
}
|
||||||
|
|
||||||
override void visit(const VariableDeclaration dec)
|
override void visit(const VariableDeclaration dec)
|
||||||
|
|
@ -580,6 +581,8 @@ final class FirstPass : ASTVisitor
|
||||||
foreach_reverse(c; result)
|
foreach_reverse(c; result)
|
||||||
lookup.breadcrumbs.insert(c);
|
lookup.breadcrumbs.insert(c);
|
||||||
|
|
||||||
|
again:
|
||||||
|
|
||||||
// check template
|
// check template
|
||||||
if (IdentifierOrTemplateInstance iot = unary.identifierOrTemplateInstance)
|
if (IdentifierOrTemplateInstance iot = unary.identifierOrTemplateInstance)
|
||||||
{
|
{
|
||||||
|
|
@ -624,6 +627,17 @@ final class FirstPass : ASTVisitor
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
writeln("something else final");
|
writeln("something else final");
|
||||||
|
if (unary.unaryExpression)
|
||||||
|
{
|
||||||
|
unary = unary.unaryExpression;
|
||||||
|
goto again;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach(c; original)
|
||||||
|
lookup.breadcrumbs.insert(c);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue