parser : mise en commentaire du branchement des backslashes pour éviter tout crash

This commit is contained in:
Ahurac 2024-04-14 17:20:48 +02:00
parent 066530d406
commit ba9340ccb6

View file

@ -32,9 +32,11 @@ fn parse_main(characters: &mut Vec<char>, current_arg: &mut String) -> Vec<Strin
} else {
parse_main(characters, current_arg)
}
/*
} else if current_char == '\\' {
current_arg.push(characters.pop().unwrap());
parse_main(characters, current_arg)
*/
} else if current_char == '\'' {
let mut argv = vec![parse_quote(characters).unwrap()];
argv.append(&mut parse_main(characters, &mut String::default()));