parser : mise en commentaire du branchement des backslashes pour éviter tout crash
This commit is contained in:
parent
066530d406
commit
ba9340ccb6
1 changed files with 2 additions and 0 deletions
|
@ -32,9 +32,11 @@ 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 == '\'' {
|
||||||
let mut argv = vec![parse_quote(characters).unwrap()];
|
let mut argv = vec![parse_quote(characters).unwrap()];
|
||||||
argv.append(&mut parse_main(characters, &mut String::default()));
|
argv.append(&mut parse_main(characters, &mut String::default()));
|
||||||
|
|
Loading…
Reference in a new issue