From d268e857a41d89a25dcea69a0f36edec3772f5a7 Mon Sep 17 00:00:00 2001 From: darcy Date: Wed, 4 Dec 2024 12:21:23 +1100 Subject: [PATCH] fix: 2 typos --- src/main.rs | 2 +- src/parser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, )) }