src/basilisp/lang/reader.py
def _update_loc(self, c):
        """Update the internal line and column buffers after a new character
        is added.

        The column number is set to 0, so the first character on the next line
        is column number 1."""
        if newline_chars.match(c):
            self._col.append(0)
            self._line.append(self._line[-1] + 1)
        else:
            self._col.append(self._col[-1] + 1)
            self._line.append(self._line[-1])
def _update_loc(self, c):
        """Update the internal line and column buffers after a new character
        is added.

        The column number is set to 0, so the first character on the next line
        is column number 1."""
        if newline_chars.match(c):
            self._col.append(0)
            self._line.append(self._line[-1] + 1)
        else:
            self._col.append(self._col[-1] + 1)
            self._line.append(self._line[-1])
def _update_loc ( self , c ) : if newline_chars . match ( c ) : self . _col . append ( 0 ) self . _line . append ( self . _line [ - 1 ] + 1 ) else : self . _col . append ( self . _col [ - 1 ] + 1 ) self . _line . append ( self . _line [ - 1 ] )
Update the internal line and column buffers after a new character
        is added.

        The column number is set to 0, so the first character on the next line
        is column number 1.
Update the internal line and column buffers after a new character is added .