aboutsummaryrefslogtreecommitdiffstats
path: root/src/transpile_js.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transpile_js.rs')
-rw-r--r--src/transpile_js.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transpile_js.rs b/src/transpile_js.rs
index 1fa6075..b14b964 100644
--- a/src/transpile_js.rs
+++ b/src/transpile_js.rs
@@ -1,7 +1,7 @@
extern crate modelica_parser;
-use self::modelica_parser::ast::*;
+use self::modelica_parser::*;
pub trait TranspileJS {
fn repr_js(&self) -> Result<String, String>;
@@ -42,7 +42,7 @@ impl TranspileJS for ModelicaModel {
impl TranspileJS for Expr {
fn repr_js(&self) -> Result<String, String> {
- use modelica_parser::ast::Expr::*;
+ use modelica_parser::Expr::*;
match *self {
Integer(e) => Ok(format!("{}", e)),
Float(e) => Ok(format!("{}", e)),