diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-09 16:06:34 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-09 16:06:34 +0100 |
| commit | 0f6e6d0b2f6887e025a08a862b55288f871e62ca (patch) | |
| tree | 2422d38e5bec456b42f6db574df99ed453409041 /lib/xixanta/src/errors.rs | |
| parent | 8b1c270910fce13077864bf39d6e88971a6eb062 (diff) | |
| download | tools.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/errors.rs')
| -rw-r--r-- | lib/xixanta/src/errors.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/xixanta/src/errors.rs b/lib/xixanta/src/errors.rs index 3ca00bc..544b9b4 100644 --- a/lib/xixanta/src/errors.rs +++ b/lib/xixanta/src/errors.rs @@ -68,21 +68,8 @@ impl fmt::Display for ParseError { } #[derive(Debug, Clone, PartialEq)] -pub enum ContextErrorReason { - Redefinition, - UnknownVariable, - BadScope, - Label, - Bounds, - BadStart, - BadEnd, - Other, -} - -#[derive(Debug, Clone, PartialEq)] pub struct ContextError { pub line: usize, - pub reason: ContextErrorReason, pub message: String, pub global: bool, pub source: SourceInfo, |
