def doc.cr

emerging-eztoml@0.9.0.0 · main.bend:5667

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

5667# the character after a carriage return: a line feed ends the line, anything else fails
5668def doc.cr(lf: Bool, st: St, cc: Char) -> Mode:
5669  match lf:
5670    case True{}:
5671      MScan{read.fast(st, cc)}
5672    case False{}:
5673      MScan{st.err(st, "carriage return without line feed")}

Uses (6)

Used by (1)