'Seeks the parser to the given position.'

def seek(self, pos):

    self.fp.seek(pos)
    self.bufpos = pos
    self.buf = ''
    self.charpos = 0
    self.parse1 = self.parse_main
    self.tokens = []
    return
