chiark / gitweb /
src/lexer-proto.lisp (syntax-error, lexer-error): Improve location handling.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000 (19:58 +0100)
commitd63df20adbac17c905f711af54d7c94b9079209b
tree0c6214171157d143215af616db3e23d49cea8274
parent26c5ecfef79e0158c3ea38e9c32ad1fe3e85be3e
src/lexer-proto.lisp (syntax-error, lexer-error): Improve location handling.

The functions now provide a `:location' keyword argument, and use their
scanner argument as a default location if the keyword is omitted.

Nothing is currently using the optional arguments, but it might happen
later.
doc/parsing.tex
src/lexer-proto.lisp