Introduces ParseCtxt, simple abstraction for threading an incrementally-consumed ReadCtxt through Decoders without forcing them to change return-value. This does not allow for backtracking or splitting, at least as implemented currently.
Fixes broken label sanitization rules, and suppresses them entirely for the contents of string literals.
Adds a manual test at the end of sample_codegen.rs to confirm that parsing can actually work.
Introduces
ParseCtxt
, simple abstraction for threading an incrementally-consumedReadCtxt
through Decoders without forcing them to change return-value. This does not allow for backtracking or splitting, at least as implemented currently.Fixes broken label sanitization rules, and suppresses them entirely for the contents of string literals.
Adds a manual test at the end of
sample_codegen.rs
to confirm that parsing can actually work.