diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-25 22:57:57 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-25 22:57:57 +0200 |
| commit | 5d4116881f2cc4d053fad66c1a6d00d2dcbead90 (patch) | |
| tree | fe8703aecd3476b4c2b6b41dd41c3b4d0dc20432 /lib/xixanta/src/object.rs | |
| parent | ee9d61f078b04406c5b264d4e0e5bd1ea287e6e2 (diff) | |
| download | tools.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.rs | 2 |
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)] |
