* Track the line number of the current buffer position, so that error
authorChris Hanson <org/chris-hanson/cph>
Fri, 29 Jun 2001 05:19:24 +0000 (05:19 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 29 Jun 2001 05:19:24 +0000 (05:19 +0000)
commit99d7c6935fe5012025c8b93cf765d45752b0c080
treea6ee59f17125c0f4638f50978985168b99167a89
parent0767b6a8c74b072269f74ad9ca74353a09b41356
* Track the line number of the current buffer position, so that error
  messages can refer to the line.  Change representation of buffer
  pointers to include the line number.  Add operation to generate a
  string that shows the line number and character number of either a
  given pointer or the current position.

* Eliminate DECREMENT-PARSER-BUFFER-POINTER, which was unused and
  makes implementing the line number more difficult.

* Add -NO-ADVANCE versions of procedures that match single characters.

* Change terminology: the index of the current character in the buffer
  is called a "position".  The word "pointer" is reserved to refer to
  pointer objects that are handed to the users, which themselves refer
  to positions.
v7/src/star-parser/buffer.scm