def advance(self):
    c = self.current
    self.index += 1
    self.col += 1
    if (c == u'\n'):
        self.lno += 1
        self.col = 0
    return c
def advance(self):
    c = self.current
    self.index += 1
    self.col += 1
    if (c == u'\n'):
        self.lno += 1
        self.col = 0
    return c