parser : réintégration du branchement pour les backslashes

This commit is contained in:
Ahurac 2024-04-15 12:09:28 +02:00
parent e2a850cfbb
commit cf1d6ff998

View file

@ -28,11 +28,9 @@ fn parse_main(characters: &mut Vec<char>, current_arg: &mut String) -> Vec<Strin
} else { } else {
parse_main(characters, current_arg) parse_main(characters, current_arg)
} }
/*
} else if current_char == '\\' { } else if current_char == '\\' {
current_arg.push(characters.pop().unwrap()); current_arg.push(characters.pop().unwrap());
parse_main(characters, current_arg) parse_main(characters, current_arg)
*/
} else if current_char == '\'' { } else if current_char == '\'' {
current_arg.push_str(parse_quote(characters).as_str()); current_arg.push_str(parse_quote(characters).as_str());
parse_main(characters, current_arg) parse_main(characters, current_arg)