forked from katzen-cafe/iowo
lang: remove this attempt
This commit is contained in:
parent
1c6180aabc
commit
eb7806572b
19 changed files with 1 additions and 1885 deletions
|
@ -1,17 +0,0 @@
|
|||
use std::path::PathBuf;
|
||||
|
||||
use crate::lst_parser::error::SyntaxError;
|
||||
|
||||
use super::files::FileId;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Syntax(FileId, SyntaxError),
|
||||
FailedToOpenFileMod(PathBuf, std::io::Error),
|
||||
}
|
||||
|
||||
impl Error {
|
||||
pub fn from_syntax(file: FileId, e: SyntaxError) -> Self {
|
||||
Self::Syntax(file, e)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue