def lex.key.end
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
3250# end a nonempty segment
3251def lex.key.end(st: St, next: Lex) -> St:
3252 St{bad, rows, heads, here, parts, +buf, lx, back, qkind, stack, hold, uni, left,
3253 arrtab, lead} = st
3254 lex.key.end.go(List.is_empty(&2, Char, buf),
3255 St{bad, rows, heads, here, parts, buf, lx, back, qkind, stack, hold, uni, left,
3256 arrtab, lead}, next)