Commit e751a61a authored by Robert Bradshaw's avatar Robert Bradshaw

Fix annotation.

parent 44e76ee6
......@@ -17,8 +17,8 @@ special_chars = [(u'<', u'\xF0', u'&lt;'),
class AnnotationCCodeWriter(CCodeWriter):
def __init__(self, create_from=None, buffer=None):
CCodeWriter.__init__(self, create_from, buffer)
def __init__(self, create_from=None, buffer=None, copy_formatting=True):
CCodeWriter.__init__(self, create_from, buffer, copy_formatting=True)
self.annotation_buffer = StringIO()
if create_from is None:
self.annotations = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment