remove IOError from Parser + store only ErrorKind in LimboError

This commit is contained in:
pedrocarlo
2025-08-13 12:39:08 -03:00
parent 54c02b6ae0
commit d0c13f0104
6 changed files with 20 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ use crate::dialect::Token;
use ast::{Cmd, ExplainKind, Name, Stmt};
/// Parser error
#[derive(Debug, PartialEq)]
#[derive(Debug, Clone, PartialEq)]
pub enum ParserError {
/// Syntax error
SyntaxError(String),