chiark / gitweb /
src/lexer-proto.lisp (lexer-error): Fix spin from bad `format' string.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 22 Jul 2017 17:12:57 +0000 (18:12 +0100)
commitc1098ad8614af0cf52d057df6e9c2a17aaf19fe3
tree54857dea0f054579b633a9ed62042df361a1fccc
parentbe2410a046c2c1841ab6422da67bdcb8cb081903
src/lexer-proto.lisp (lexer-error): Fix spin from bad `format' string.

What should have been the `else' branch of the hairy list presentation
said `~;:' instead of `~:;', with the result that if there are four or
more expected character sequences, no branch of the conditional matches,
and the loop body doesn't consume any items so it spins forever.
src/lexer-proto.lisp