summaryrefslogtreecommitdiff
path: root/src/printer/dump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/dump.cpp')
-rw-r--r--src/printer/dump.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/printer/dump.cpp b/src/printer/dump.cpp
index 2b2a35c..bf3f6b8 100644
--- a/src/printer/dump.cpp
+++ b/src/printer/dump.cpp
@@ -119,8 +119,7 @@ void Dump::printS(std::string ident, chillAST_DeclRefExpr *n, std::ostream &o) {
void Dump::printS(std::string ident, chillAST_FloatingLiteral *n, std::ostream &o) {
if (n->precision == 1) o << "float ";
else o << "double ";
- if (n->float0double1) o << n->value;
- else o << n->doublevalue;
+ o << n->value;
}
void Dump::printS(std::string ident, chillAST_ForStmt *n, std::ostream &o) {