kast.format is used to format gas expressions for use in pass specifications; recent changes (see #413) introduced changes that make the output of format unparseable by K.
This PR introduces a variable that can be used to differentiate between pretty-printing and generating valid K syntax for use in specifications, and applies it conservatively to prevent issues (i.e. there may be other situations in which it should be used, I didn't try to be exhaustive here).
kast.format
is used to format gas expressions for use inpass
specifications; recent changes (see #413) introduced changes that make the output offormat
unparseable byK
.This PR introduces a variable that can be used to differentiate between pretty-printing and generating valid
K
syntax for use in specifications, and applies it conservatively to prevent issues (i.e. there may be other situations in which it should be used, I didn't try to be exhaustive here).