Fixed issue with AST printing

This commit is contained in:
Hackerpilot 2013-10-29 10:48:57 -07:00
parent 77a698de23
commit 149b37a1a1
1 changed files with 3 additions and 3 deletions

View File

@ -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)