diff --git a/README b/README index e515703..7b10cbd 100644 --- a/README +++ b/README @@ -14,10 +14,10 @@ Latest release and setup ---------------------------- Clone this repository to get the latest development version. -Currently we are at version 0.2.3 of the software. +Currently we are at version 0.3.0 of the software. If you'd like the point release (stable) version, run these commands below: -git reset --hard 0.2.3 +git reset --hard 0.3.0 cargo build --release If you want the latest development release, run these commands: diff --git a/README.html b/README.html index 5b4de5f..d622c31 100644 --- a/README.html +++ b/README.html @@ -11,10 +11,10 @@
Clone this repository to get the latest development version.
-Currently we are at version 0.2.3 of the software.
+Currently we are at version 0.3.0 of the software.
If you'd like the point release (stable) version, run these commands below:
-git reset --hard 0.2.3 +git reset --hard 0.3.0 cargo build --releasediff --git a/src/main.rs b/src/main.rs index 8d93b5b..937c3f5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,7 @@ fn load_macro(set: String, mac: String, inputs: String, vars: Vec) -> St } if inputs.contains(")/") { + println!("e"); let coolbeans: Vec<&str> = inputs.split(")/").collect(); let mut isin = false; let mut i: u8 = 0; @@ -112,7 +113,14 @@ fn load_macro(set: String, mac: String, inputs: String, vars: Vec ) -> St println!("ERROR: Reference to variable {} not assigned.", coolbeans[1]); process::exit(1); } - contents = format!("{} .{} STZ", contents, i.to_string()); + let contunt: Vec<&str> = contents.split("\n").collect(); + let mut contelt = "".to_string(); + for x in contunt { + if x.len() > 2 { + contelt = format!("{}\n{} .{} STZ",contelt,x,i.to_string()); + } + } + contents = contelt.to_string(); } return contents.to_string(); }