diff options
Diffstat (limited to 'modelica-parser-lalrpop/src')
-rw-r--r-- | modelica-parser-lalrpop/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modelica-parser-lalrpop/src/ast.rs b/modelica-parser-lalrpop/src/ast.rs index 12b1503..7873ca9 100644 --- a/modelica-parser-lalrpop/src/ast.rs +++ b/modelica-parser-lalrpop/src/ast.rs @@ -296,7 +296,7 @@ impl Debug for Expr { use self::Expr::*; match *self { Integer(e) => write!(fmt, "{}", e), - Float(e) => write!(fmt, "{}", e), + Float(e) => write!(fmt, "{:e}", e), Boolean(e) => write!(fmt, "{}", e), StringLiteral(ref e) => write!(fmt, "\"{}\"", e), Ident(ref e) => write!(fmt, "{}", e), |