'write a source comment containing the line number of the
corresponding template line.'

def write_source_comment(self, node):

    if (self.last_source_line != node.lineno):
        self.printer.writeline(('#    SOURCE    LINE    %d' % node.lineno))
        self.last_source_line = node.lineno
