From af7a9b22bd010d37685169889b4d3fba5b48b844 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 30 Apr 2026 13:17:52 +0200 Subject: Rename "raw address" to "label" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is much clearer to the programmer. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/object.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/xixanta') 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 => { -- cgit v1.2.3