diff --git a/xpcom/idl-parser/header.py b/xpcom/idl-parser/header.py index 91a2d3f08b9..7c15c9a709e 100644 --- a/xpcom/idl-parser/header.py +++ b/xpcom/idl-parser/header.py @@ -346,7 +346,7 @@ def write_interface(iface, fd): fd.write(" /* %s */\n" % m.toIDL()) fd.write(" %s = 0;\n\n" % methodAsNative(m)) - + def write_attr_decl(a): printComments(fd, a.doccomments, ' ') diff --git a/xpcom/idl-parser/runtests.py b/xpcom/idl-parser/runtests.py index ef5d7dbcfe2..eb777c3d701 100644 --- a/xpcom/idl-parser/runtests.py +++ b/xpcom/idl-parser/runtests.py @@ -13,7 +13,7 @@ import xpidl class TestParser(unittest.TestCase): def setUp(self): self.p = xpidl.IDLParser() - + def testEmpty(self): i = self.p.parse("", filename='f') self.assertTrue(isinstance(i, xpidl.IDL))