diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/xixanta/src/assembler.rs | 6 | ||||
| -rw-r--r-- | lib/xixanta/src/mapping.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/xixanta/src/assembler.rs b/lib/xixanta/src/assembler.rs index 2f09295..24653e2 100644 --- a/lib/xixanta/src/assembler.rs +++ b/lib/xixanta/src/assembler.rs @@ -1,7 +1,7 @@ use crate::errors::{Error, EvalError}; use crate::mapping::Mapping; use crate::node::{ControlType, NodeType, PNode, PString}; -pub use crate::object::{Bundle, Context, Object, ObjectType}; +use crate::object::{Bundle, Context, Object, ObjectType}; use crate::opcodes::{AddressingMode, INSTRUCTIONS}; use crate::parser::Parser; use std::cmp::Ordering; @@ -116,7 +116,7 @@ impl Assembler { self.fill() } - pub fn eval_context(&mut self, nodes: &[PNode]) -> Result<(), Vec<Error>> { + fn eval_context(&mut self, nodes: &[PNode]) -> Result<(), Vec<Error>> { let mut errors = Vec::new(); let mut current_macro = None; @@ -223,7 +223,7 @@ impl Assembler { } } - pub fn bundle(&mut self, nodes: &Vec<PNode>) -> Result<(), Vec<Error>> { + fn bundle(&mut self, nodes: &Vec<PNode>) -> Result<(), Vec<Error>> { let mut errors = Vec::new(); for node in nodes { diff --git a/lib/xixanta/src/mapping.rs b/lib/xixanta/src/mapping.rs index 0a73648..2859bbf 100644 --- a/lib/xixanta/src/mapping.rs +++ b/lib/xixanta/src/mapping.rs @@ -1,5 +1,5 @@ -use crate::assembler::Bundle; use crate::errors::EvalError; +use crate::object::Bundle; lazy_static! { /// An empty mapper used for testing purposes. |
