Commit d7e8796b authored by Stefan Behnel's avatar Stefan Behnel

pass "copy_formatting" flag on to super class instead of overwriting it in AnnotationCCodeWriter

parent c46463ed
......@@ -18,7 +18,7 @@ from .. import Utils
class AnnotationCCodeWriter(CCodeWriter):
def __init__(self, create_from=None, buffer=None, copy_formatting=True):
CCodeWriter.__init__(self, create_from, buffer, copy_formatting=True)
CCodeWriter.__init__(self, create_from, buffer, copy_formatting=copy_formatting)
if create_from is None:
self.annotation_buffer = StringIO()
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