From 83a81fb3e6ac4527a09fe0769d86a9a9be35d2e0 Mon Sep 17 00:00:00 2001 From: SARDONYX-sard <68905624+SARDONYX-sard@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:41:26 +0900 Subject: [PATCH] fix(core): fix multi \n --- dar2oar_core/src/dar_syntax/syntax.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/dar2oar_core/src/dar_syntax/syntax.rs b/dar2oar_core/src/dar_syntax/syntax.rs index fba4550..5d1b08a 100644 --- a/dar2oar_core/src/dar_syntax/syntax.rs +++ b/dar2oar_core/src/dar_syntax/syntax.rs @@ -328,6 +328,7 @@ pub fn parse_condition(input: &str) -> IResult<&str, Condition<'_>> { let (input, _) = space0(input)?; let (input, operator) = opt(parse_operator)(input)?; let (input, _) = many0(comment)(input)?; + let (input, _) = multispace0(input)?; if let Some(operator) = operator { match operator {