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)
|
||||
{
|
||||
if (importBind.right.type == TokenType.invalid)
|
||||
output.writeln("<importBind symbol=\"", importBind.left, "\">");
|
||||
output.writeln("<importBind symbol=\"", importBind.left.value, "\">");
|
||||
else
|
||||
output.writeln("<importBind symbol=\"", importBind.right,
|
||||
"\" rename=\"", importBind.left, "\">");
|
||||
output.writeln("<importBind symbol=\"", importBind.right.value,
|
||||
"\" rename=\"", importBind.left.value, "\">");
|
||||
}
|
||||
|
||||
override void visit(ImportBindings importBindings)
|
||||
|
|
Loading…
Reference in New Issue