diff options
| -rw-r--r-- | crates/nasm/README.md | 2 | ||||
| -rw-r--r-- | lib/xixanta/src/object.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/nasm/README.md b/crates/nasm/README.md index 355b28b..9a44eaa 100644 --- a/crates/nasm/README.md +++ b/crates/nasm/README.md @@ -261,7 +261,7 @@ foo: Then you will get: ``` -warning: raw address 'foo' is unused (unused.s) +warning: label 'foo' is unused (unused.s) ``` In the case for subroutines defined via `.proc`, this warning will actually be diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index 8867af3..1887b77 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -126,7 +126,7 @@ pub enum ObjectType { impl std::fmt::Display for ObjectType { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { match self { - ObjectType::Address => write!(f, "raw address"), + ObjectType::Address => write!(f, "label"), ObjectType::Proc => write!(f, "proc"), ObjectType::Value => write!(f, "variable"), ObjectType::Argument => write!(f, "macro argument"), @@ -260,7 +260,7 @@ impl Context { var.accessed += 1; Ok(var.clone()) } - // If it's a .proc or a raw address, then we account for the + // If it's a .proc or a label, then we account for the // number of times it was accessed, and we return the // resolved value. ObjectType::Address | ObjectType::Proc => { |
