Seperate between internal and external conversion
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user