diff --git a/src/main.rs b/src/main.rs index 43d34f3..74f899c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,11 +27,10 @@ fn load_macro(set: String, mac: String, inputs: String, vars: Vec) -> St let mut keg: String = "".to_owned(); let mut coont = 0; for input in based { - println!("{}", inputs); let x; - if contents.contains(")!!") { + if inputs.contains(")!!") { x = format!("{}![[hex]]", input); - } else if contents.contains(")..") { + } else if inputs.contains(")..") { x = format!("var!{}", input); } else { x = input.to_string();