diff --git a/librashader-presets/src/parse/token.rs b/librashader-presets/src/parse/token.rs index f2ebeaf..4714397 100644 --- a/librashader-presets/src/parse/token.rs +++ b/librashader-presets/src/parse/token.rs @@ -120,9 +120,11 @@ fn parse_tokens(mut span: Span) -> IResult> { } if let Ok((input, _)) = multiline_comment(span) { span = input; + continue; } if let Ok((input, _)) = single_comment(span) { span = input; + continue; } let (input, token) = parse_key_value(span)?; span = input;