aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/assembler.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-09 16:06:34 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-09 16:06:34 +0100
commit0f6e6d0b2f6887e025a08a862b55288f871e62ca (patch)
tree2422d38e5bec456b42f6db574df99ed453409041 /lib/xixanta/src/assembler.rs
parent8b1c270910fce13077864bf39d6e88971a6eb062 (diff)
downloadtools.nes-0f6e6d0b2f6887e025a08a862b55288f871e62ca.tar.gz
tools.nes-0f6e6d0b2f6887e025a08a862b55288f871e62ca.zip
Remove ContextErrorReason as it was unused
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/assembler.rs')
-rw-r--r--lib/xixanta/src/assembler.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/xixanta/src/assembler.rs b/lib/xixanta/src/assembler.rs
index d82be73..e472323 100644
--- a/lib/xixanta/src/assembler.rs
+++ b/lib/xixanta/src/assembler.rs
@@ -1,4 +1,4 @@
-use crate::errors::{ContextError, ContextErrorReason, Error, EvalError};
+use crate::errors::{ContextError, Error, EvalError};
use crate::mapping::{get_mapping_configuration, Mapping};
use crate::node::{ControlType, NodeType, OperationType, PNode};
use crate::object::{Bundle, Context, Object, ObjectType};
@@ -231,7 +231,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
});
}
@@ -295,7 +294,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
}));
}
}
@@ -309,7 +307,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
}));
continue;
}
@@ -344,7 +341,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadStart,
}));
continue;
}
@@ -369,7 +365,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
source: self.source_for(node),
global: false,
- reason: ContextErrorReason::BadStart,
}));
continue;
}
@@ -393,7 +388,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
}));
}
@@ -444,7 +438,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
});
}
}
@@ -483,7 +476,6 @@ impl<'a> Assembler<'a> {
line: node.value.line,
global: false,
source: self.source_for(node),
- reason: ContextErrorReason::BadScope,
}));
}
@@ -716,7 +708,6 @@ impl<'a> Assembler<'a> {
message,
source: self.source_for(node),
global: false,
- reason: ContextErrorReason::BadScope,
})]);
}
}