use lexer to detect remaining layout in parse_number_from_string (#1773)

This commit is contained in:
Mark
2023-06-30 17:13:38 -06:00
parent c38a26e6cd
commit b0566e4150
5 changed files with 104 additions and 63 deletions

View File

@@ -52,7 +52,7 @@ impl<'a> TermStream for BootstrappingTermStream<'a> {
fn next(&mut self, op_dir: &CompositeOpDir) -> Result<Term, CompilationError> {
self.parser.reset();
self.parser
.read_term(op_dir)
.read_term(op_dir, Tokens::Default)
.map_err(CompilationError::from)
}