|
|
|
Hi, Doug,
Looks good to me. Can you provide a patch (diff) with the proposed changes? Best wishes, Right after I uploaded the patch, I realized I forgot to change writer.WriteLine to writer.Write in astgen.boo. Otherwise there is an extra (harmless) line break after the attribute.
+ if field.Name == "Name": Here is my copy of astgen.boo to make a few other improvements to the xml output, like printing out the modifiers of a class or method (i.e. private, public, abstract...).
Also I made this one other change:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Changes:
[System.Xml.Serialization.XmlInclude(typeof(MacroStatement))]
Optional to make the XML a little prettier:
if field.Name == "Name":
writer.WriteLine("""
[System.Xml.Serialization.XmlAttribute]""")
I'll post a note to boo-dev with a sample script and its output.