about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-08-19 16:00:33 -0700
committerKevin Ballard <kevin@sb.org>2013-08-19 16:00:33 -0700
commitaeb06f2fb1d2d5cc59349ee82eebfe7191762981 (patch)
tree21a3cf47fe914020c0f88ccfa793deaa95f52037 /src
parent2246d56e7149402f18041d05e3c0ecf598671904 (diff)
Fix broken rusti
Commit 0932ab336 accidentally broke rusti by making it parse the binary
name as the input, instead of parsing what the user typed.
Diffstat (limited to 'src')
-rw-r--r--src/librusti/rusti.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librusti/rusti.rs b/src/librusti/rusti.rs
index d4bee13aae7..91b6be55d40 100644
--- a/src/librusti/rusti.rs
+++ b/src/librusti/rusti.rs
@@ -142,7 +142,7 @@ fn run(mut program: ~Program, binary: ~str, lib_search_paths: ~[~str],
     // Stage 1: parse the input and filter it into the program (as necessary)
     //
     debug!("parsing: %s", input);
-    let crate = parse_input(sess, binary);
+    let crate = parse_input(sess, input);
     let mut to_run = ~[];       // statements to run (emitted back into code)
     let new_locals = @mut ~[];  // new locals being defined
     let mut result = None;      // resultant expression (to print via pp)