summaryrefslogtreecommitdiff
path: root/src/macro_processor/main.rs
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit99205d6a5635dc8cb1a9d7429e6b6d0880518cb9 (patch)
treeb6fb81830c1795cc115a0b13863123604df5bb5d /src/macro_processor/main.rs
parent3b35f97b07d3a6b439544097fe36628619f95d4f (diff)
downloadskaldpress-99205d6a5635dc8cb1a9d7429e6b6d0880518cb9.tar.gz
skaldpress-99205d6a5635dc8cb1a9d7429e6b6d0880518cb9.zip
Clean up things a bit
Diffstat (limited to 'src/macro_processor/main.rs')
-rw-r--r--src/macro_processor/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macro_processor/main.rs b/src/macro_processor/main.rs
index 5575aa6..247fc85 100644
--- a/src/macro_processor/main.rs
+++ b/src/macro_processor/main.rs
@@ -1,11 +1,11 @@
+use skaldpress::macro_processor::MacroProcessor;
use std::env;
use std::fs;
-use skaldpress::macro_processor::MacroProcessor;
fn main() {
let args: Vec<String> = env::args().collect();
let input_file = fs::read_to_string(&args[1]).expect("Failed to read input file");
-
+
let mut macro_processor = MacroProcessor::new();
let final_output = macro_processor.process_input(&input_file);
println!("{}", final_output);