Start splitting up parsing

This commit is contained in:
Joscha 2021-11-08 12:13:42 +00:00
parent 0718883a80
commit dc24bbc883
5 changed files with 84 additions and 44 deletions

View file

@ -31,7 +31,7 @@ fn main() {
let mut parser = Parser::new(file, content);
let commands = match parser.parse() {
let commands = match parser.parse(parser::commands::parse) {
Ok(result) => result,
Err(es) => {
files.emit_all(&es);