lang: handle and recover some errors in lists

This commit is contained in:
Schrottkatze 2024-05-04 23:12:47 +02:00
parent 4bcaf945d7
commit ed151c2e3c
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
2 changed files with 20 additions and 0 deletions

View file

@ -4,4 +4,7 @@ use crate::lst_parser::syntax_kind::SyntaxKind;
pub enum SyntaxError {
Expected(Vec<SyntaxKind>),
PipelineNeedsSink,
// if there was two space seperated items in a list
SpaceSepInList,
SemicolonInList,
}