aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/object.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-25 22:57:57 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-25 22:57:57 +0200
commit5d4116881f2cc4d053fad66c1a6d00d2dcbead90 (patch)
treefe8703aecd3476b4c2b6b41dd41c3b4d0dc20432 /lib/xixanta/src/object.rs
parentee9d61f078b04406c5b264d4e0e5bd1ea287e6e2 (diff)
downloadtools.nes-5d4116881f2cc4d053fad66c1a6d00d2dcbead90.tar.gz
tools.nes-5d4116881f2cc4d053fad66c1a6d00d2dcbead90.zip
Add the context's name into memory ranges
This is applied whenever a given memory range name is not under the global context. The end result is that scopes will be shown into the memory.txt file when using '--write-info'. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta/src/object.rs')
-rw-r--r--lib/xixanta/src/object.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs
index 5b4b235..cd1db1f 100644
--- a/lib/xixanta/src/object.rs
+++ b/lib/xixanta/src/object.rs
@@ -4,7 +4,7 @@ use crate::opcodes::CONTROL_FUNCTIONS;
use std::collections::HashMap;
/// The name of the global context as used internally.
-const GLOBAL_CONTEXT: &str = "__internal_nasm_global_scope";
+pub const GLOBAL_CONTEXT: &str = "__internal_nasm_global_scope";
/// A Bundle represents a set of bytes that can be encoded as binary data.
#[derive(Debug, Default, Clone, Eq, Ord, PartialEq, PartialOrd)]