diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/modelthing-modelica.rs (renamed from src/bin/parse_pascal.rs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/parse_pascal.rs b/src/bin/modelthing-modelica.rs index 7b08f36..a8fa9be 100644 --- a/src/bin/parse_pascal.rs +++ b/src/bin/modelthing-modelica.rs @@ -3,7 +3,7 @@ extern crate modelthing; extern crate rustc_serialize; extern crate docopt; -use modelthing::pascal; +use modelthing::modelica_parser; use docopt::Docopt; use std::env; use std::io::Read; @@ -25,7 +25,7 @@ fn main() { } let time_stamp = Instant::now(); - let result = pascal::parse_file(&s); + let result = modelica_parser::parse_file(&s); let elapsed = time_stamp.elapsed(); let elapsed = elapsed.as_secs() as f64 + elapsed.subsec_nanos() as f64 / 1000_000_000.0; @@ -37,7 +37,7 @@ fn main() { } const USAGE: &'static str = " -Usage: modelthing-pascal <inputs>... +Usage: modelthing-modelica <inputs>... Parses each input file. "; |