Updated XMLPrinter to escape operator= value.

This commit is contained in:
Matthew Brennan Jones 2014-03-23 15:20:26 -07:00
parent efaf1441b6
commit 5689fe4583
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class XMLPrinter : ASTVisitor
output.writeln("<assignExpression>");
else
output.writeln("<assignExpression operator=\"",
str(assignExpression.operator), "\">");
xmlEscape(str(assignExpression.operator)), "\">");
assignExpression.accept(this);
output.writeln("</assignExpression>");
}