def lex.head.quote.go

emerging-eztoml@0.9.0.0 · main.bend:3904

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

3904# a quote opens a segment only where none has started. After a bare character
3905# it would glue two keys into one segment, which toml.abnf does not allow
3906def lex.head.quote.go(fresh: Bool, st: St, kind: QKind) -> St:
3907  match fresh:
3908    case True{}:
3909      lex.qkey(st, kind, LHeadQ{})
3910    case False{}:
3911      st.err(st, "invalid header")

Uses (6)

Used by (1)