chiark / gitweb /
subst: Track in type whether we're substituting
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 08:49:34 +0000 (09:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 12:57:00 +0000 (13:57 +0100)
commite89405105460bd5992ca85230f66cd257de61695
tree35828e4048a3ddb8c1e8d9635e336517d2dd5ff2
parentf6f6c3a6313b33b14191869b981d63a959851434
subst: Track in type whether we're substituting

This stops us from failing to do a final cleanup step (which is going
to be replacing `${$}` when we have mformat 2 style.  It also stop us
restarting substitution unexpectedly, and marks places where text
enters the substitution machinery.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs