def unicode.go
import emerging-ezjson@1.3.0.0/src/lex.bend as Leximport Base
171def unicode.go(left: Nat, acc: U32, ch: Char, buf: List<&2, Char>, toks: List<&2, Tok>, ok: Bool) -> Lex:
172 match ok:
173 case True{}:
174 unicode.put(left, acc, hex(ch), buf, toks)
175 case False{}:
176 Lex{Bad{}, [], toks}