def Fmt.next.close
import bend-kit-fmt@0.1.0.0/fmt.bend as Fmtimport Base
71def Fmt.next.close(t: String) -> Tok & String:
72 match t:
73 case SNil{}:
74 (TChr{'}'}, SNil{})
75 case SCon{Chr{y}, u}:
76 +c = {y : U32}
77 Fmt.next.close.if(U32.is_eq(c, 125), Chr{c}, u)