stage3/datatype_functions.cc
changeset 778 44e02a88f1e7
parent 693 51a2fa6441b9
--- a/stage3/datatype_functions.cc	Thu Dec 27 15:04:58 2012 +0000
+++ b/stage3/datatype_functions.cc	Thu Dec 27 15:31:01 2012 +0000
@@ -31,19 +31,6 @@
 
 
 
-elementary_type_c *elementary_type_c::singleton = NULL;
-
-const char *elementary_type_c::to_string(symbol_c *symbol) {
-  if (NULL == singleton)    singleton = new elementary_type_c;
-  if (NULL == singleton)    ERROR;
-  const char *res           = (const char *)symbol->accept(*singleton);
-  if (NULL == res)          ERROR;
-  return res;
-}
-
-
-
-
 
 /* Macro that expand to subtypes */
 /* copied from matiec/lib/create_standard_functions_txt.sh */