def lex.key.end.go
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
3242# an empty segment is rejected
3243def lex.key.end.go(empty: Bool, st: St, lex: Lex) -> St:
3244 match empty:
3245 case True{}:
3246 st.err(st, "empty key")
3247 case False{}:
3248 seg.push(st, lex)