Fixed issue with AST printing
This commit is contained in:
parent
77a698de23
commit
149b37a1a1
|
@ -642,10 +642,10 @@ class XMLPrinter : ASTVisitor
|
||||||
override void visit(ImportBind importBind)
|
override void visit(ImportBind importBind)
|
||||||
{
|
{
|
||||||
if (importBind.right.type == TokenType.invalid)
|
if (importBind.right.type == TokenType.invalid)
|
||||||
output.writeln("<importBind symbol=\"", importBind.left, "\">");
|
output.writeln("<importBind symbol=\"", importBind.left.value, "\">");
|
||||||
else
|
else
|
||||||
output.writeln("<importBind symbol=\"", importBind.right,
|
output.writeln("<importBind symbol=\"", importBind.right.value,
|
||||||
"\" rename=\"", importBind.left, "\">");
|
"\" rename=\"", importBind.left.value, "\">");
|
||||||
}
|
}
|
||||||
|
|
||||||
override void visit(ImportBindings importBindings)
|
override void visit(ImportBindings importBindings)
|
||||||
|
|
Loading…
Reference in New Issue