Start splitting up parsing
This commit is contained in:
parent
0718883a80
commit
dc24bbc883
5 changed files with 84 additions and 44 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue