From 51c4aaaa21a124abafe3f950e12c3c25ddbe0812 Mon Sep 17 00:00:00 2001
From: Tuowen Zhao <ztuowen@gmail.com>
Date: Sun, 25 Sep 2016 01:07:21 -0600
Subject: floating literal fix

---
 include/chillAST/chillASTs.hh | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

(limited to 'include')

diff --git a/include/chillAST/chillASTs.hh b/include/chillAST/chillASTs.hh
index 7e32a3a..a84b820 100644
--- a/include/chillAST/chillASTs.hh
+++ b/include/chillAST/chillASTs.hh
@@ -1041,26 +1041,14 @@ class chillAST_FloatingLiteral : public chillAST_Node {
 public:
   virtual CHILLAST_NODE_TYPE getType(){return CHILLAST_NODE_FLOATINGLITERAL;}
   // variables that are special for this type of node
-  float value;
-  double doublevalue;
-  int float0double1;
+  double value;
 
   char *allthedigits; // if not NULL, use this as printable representation
   //! Control the precision, float == 1, double == 2
   int precision;
 
   // constructors
-  chillAST_FloatingLiteral(float val);
-
-  chillAST_FloatingLiteral(double val);
-
-  chillAST_FloatingLiteral(float val, int pre);
-
-  chillAST_FloatingLiteral(double val, int pre);
-
-  chillAST_FloatingLiteral(float val, const char *printable);
-
-  chillAST_FloatingLiteral(float val, int pre, const char *printable);
+  chillAST_FloatingLiteral(double val, int pre, const char *printable);
 
   chillAST_FloatingLiteral(chillAST_FloatingLiteral *old);
 
-- 
cgit v1.2.3-70-g09d2