lang: remove this attempt

This commit is contained in:
Schrottkatze 2024-06-23 20:53:05 +02:00
parent 1c6180aabc
commit eb7806572b
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
19 changed files with 1 additions and 1885 deletions

View file

@ -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)
}
}