Seperate between internal and external conversion

This commit is contained in:
2024-05-21 19:30:54 +02:00
parent 5f11ab40d4
commit 98b0868d76
5 changed files with 49 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ fn configurate(cmd: &mut CommandLine) -> Result<Configuration, Error> {
fn run_main(mut cmd: CommandLine) -> Result<(), Error> {
let cfg = configurate(&mut cmd)?;
let input = tool_helper::open_input(cmd.input_file)?;
let input = tool_helper::open_input(&cmd.input_file)?;
let output = tool_helper::open_output(&Some(cmd.output_file))?;
return cpp_out::convert(cfg, input, output);