stage4/generate_c/generate_c_base.cc
changeset 718 a9f8cc778444
parent 594 c8092e909886
child 793 268bf4ca5fa1
equal deleted inserted replaced
717:44f74fad2cc0 718:a9f8cc778444
   225 
   225 
   226     void *print_check_function(symbol_c *type,
   226     void *print_check_function(symbol_c *type,
   227           symbol_c *value,
   227           symbol_c *value,
   228           symbol_c *fb_name = NULL,
   228           symbol_c *fb_name = NULL,
   229           bool temp = false) {
   229           bool temp = false) {
   230       search_base_type_c search_base_type;
   230       bool is_subrange = search_base_type_c::type_is_subrange(type);
   231       bool is_subrange = search_base_type.type_is_subrange(type);
       
   232       if (is_subrange) {
   231       if (is_subrange) {
   233 		s4o.print("__CHECK_");
   232 		s4o.print("__CHECK_");
   234 		type->accept(*this);
   233 		type->accept(*this);
   235 		s4o.print("(");
   234 		s4o.print("(");
   236       }
   235       }