def read.fin.ok
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
4680# the states that may end a document
4681def read.fin.ok(lex: Lex, st: St) -> Doc:
4682 match lex:
4683 case LTop{}:
4684 read.fin.doc(st)
4685 case LLine{}:
4686 read.fin.doc(st)
4687 case LCom{}:
4688 read.fin.com.st(st)
4689 case LSink{}:
4690 read.fin.doc(st)
4691 case _:
4692 read.fin.bad(st)