mirror of
https://github.com/irmen/prog8.git
synced 2025-02-16 22:30:46 +00:00
fix xmlwriter
This commit is contained in:
parent
a44d853c1b
commit
f3960d21a8
@ -114,6 +114,14 @@ class AstToXmlConverter(internal val program: PtProgram,
|
|||||||
node.address.toString(),
|
node.address.toString(),
|
||||||
false)
|
false)
|
||||||
}
|
}
|
||||||
|
StNodeType.MEMORYSLAB -> {
|
||||||
|
node as StMemorySlab
|
||||||
|
xml.elt("memoryslab")
|
||||||
|
xml.writeAttribute("name", node.name)
|
||||||
|
xml.writeAttribute("size", node.size.toString())
|
||||||
|
xml.writeAttribute("align", node.align.toString())
|
||||||
|
xml.endElt()
|
||||||
|
}
|
||||||
StNodeType.CONSTANT -> {
|
StNodeType.CONSTANT -> {
|
||||||
node as StConstant
|
node as StConstant
|
||||||
xml.writeTextNode("const",
|
xml.writeTextNode("const",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user