diff --git a/src/main.rs b/src/main.rs index 357e982..fd1cb7c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,7 @@ fn main() -> miette::Result<()> { Ok(()) } Command::Compile { name, dest } => { - file_message(Green, "Assembing", &name); + file_message(Green, "Assembling", &name); let contents = StaticSource::new(fs::read_to_string(&name).into_diagnostic()?); let air = assemble(&contents)?; diff --git a/src/parser.rs b/src/parser.rs index 96e14a3..56124bb 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -156,7 +156,7 @@ impl AsmParser { TokenKind::Label | TokenKind::Lit(_) | TokenKind::Reg(_) => { return Err(error::parse_generic_unexpected( self.src, - "directive/instrucion/trap", + "directive/instruction/trap", tok, )) }