What was happening is that ["[;", "]"] would get glued to "[; ]",
which of course can never complete.
It would be good to add tests of this, but the existing multi-line
InputReader makes that challenging and I don't want to invest the
time to improve it: I expect it to be overhauled as part of a
transition away from parsing with combine and toward parsing with
rust-peg.
What was happening is that ["[;", "]"] would get glued to "[; ]", which of course can never complete.
It would be good to add tests of this, but the existing multi-line
InputReader
makes that challenging and I don't want to invest the time to improve it: I expect it to be overhauled as part of a transition away from parsing withcombine
and toward parsing withrust-peg
.