stage4/generate_c/generate_c_st.cc
changeset 693 51a2fa6441b9
parent 668 90b6eb7f1775
child 694 a010763dd4cb
--- a/stage4/generate_c/generate_c_st.cc	Thu Oct 25 18:51:55 2012 +0100
+++ b/stage4/generate_c/generate_c_st.cc	Fri Oct 26 10:11:28 2012 +0100
@@ -759,9 +759,9 @@
         if (param_value == NULL) ERROR;
         s4o.print("(");
         if      (get_datatype_info_c::is_ANY_INT_literal(current_param_type))
-          search_constant_type_c::lint_type_name.accept(*this);
+          get_datatype_info_c::lint_type_name.accept(*this);
         else if (get_datatype_info_c::is_ANY_REAL_literal(current_param_type))
-          search_constant_type_c::lreal_type_name.accept(*this);
+          get_datatype_info_c::lreal_type_name.accept(*this);
         else
           current_param_type->accept(*this);
         s4o.print(")");
@@ -1037,9 +1037,9 @@
   s4o.indent_right();
   s4o.print(s4o.indent_spaces);
   if      (get_datatype_info_c::is_ANY_INT_literal(expression_type))
-        search_constant_type_c::lint_type_name.accept(*this);
+           get_datatype_info_c::lint_type_name.accept(*this);
   else if (get_datatype_info_c::is_ANY_REAL_literal(expression_type))
-        search_constant_type_c::lreal_type_name.accept(*this);
+           get_datatype_info_c::lreal_type_name.accept(*this);
   else
     expression_type->accept(*this);
   s4o.print(" __case_expression = ");