def lex.str.char.go

emerging-eztoml@0.9.0.0 · main.bend:3510

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

3510# a forbidden control, or one character of the string
3511def lex.str.char.go(bad: Bool, st: St, cc: Char) -> St:
3512  match bad:
3513    case True{}:
3514      st.err(st, "invalid control")
3515    case False{}:
3516      st.push(st, cc, LStr{})

Uses (6)

Used by (1)