diff mxtool/mx.py @ 8302:b246434a3e4a

made build-graal.xml be generated by mx
author Doug Simon <doug.simon@oracle.com>
date Fri, 15 Mar 2013 18:09:19 +0100
parents 3c74a32bb262
children d1d486c03e8a
line wrap: on
line diff
--- a/mxtool/mx.py	Fri Mar 15 15:38:55 2013 +0100
+++ b/mxtool/mx.py	Fri Mar 15 18:09:19 2013 +0100
@@ -630,6 +630,9 @@
         e.ownerDocument = self
         return e
 
+    def comment(self, txt):
+        self.current.appendChild(self.createComment(txt))
+
     def open(self, tag, attributes={}, data=None):
         element = self.createElement(tag)
         for key, value in attributes.items():