code: def t_newline(self, t):
          r'\n+'
          t.lexer.lineno += len(t.value)
          self.latest_newline = t.lexpof t_newline(self, t):
          r'\n+'
          t.lexer.lineno += len(t.value)
          self.latest_newline = t.lexpos
docs: r'\n+