cargo fmt

This commit is contained in:
Henrik Böving
2020-11-28 17:46:48 +01:00
parent 2348f7889b
commit fc46719bbc
4 changed files with 91 additions and 53 deletions

View File

@@ -1,16 +1,14 @@
use std::fs;
use std::env;
use std::fs;
#[macro_use]
extern crate pest_derive;
use pest::Parser;
mod asm;
mod parse;
mod generate;
mod parse;
use parse::{parse_asm, AsmParser};
@@ -27,6 +25,8 @@ fn main() {
}
};
let instructions = parse_asm(AsmParser::parse(parse::Rule::program, &file_content).unwrap_or_else(|e| panic!("{}", e)));
let instructions = parse_asm(
AsmParser::parse(parse::Rule::program, &file_content).unwrap_or_else(|e| panic!("{}", e)),
);
println!("{:#?}", instructions);
}