stage4/generate_c/generate_c_base.cc
changeset 240 f78fa87bb4cb
parent 217 f5dfadf5de54
child 258 d7d92b2f87e9
equal deleted inserted replaced
239:b3063ca418c1 240:f78fa87bb4cb
   247 		s4o.print("__CHECK_");
   247 		s4o.print("__CHECK_");
   248 		type->accept(*this);
   248 		type->accept(*this);
   249 		s4o.print("(");
   249 		s4o.print("(");
   250       }
   250       }
   251       if (fb_name != NULL) {
   251       if (fb_name != NULL) {
       
   252         s4o.print(GET_VAR);
       
   253         s4o.print("(");
   252         print_variable_prefix();
   254         print_variable_prefix();
   253         fb_name->accept(*this);
   255         fb_name->accept(*this);
   254         s4o.print(".");
   256         s4o.print(".");
       
   257         value->accept(*this);
       
   258         s4o.print(")");
   255       }
   259       }
   256       if (temp)
   260       else {
   257     	s4o.print(TEMP_VAR);
   261         if (temp)
   258       value->accept(*this);
   262     	  s4o.print(TEMP_VAR);
       
   263         value->accept(*this);
       
   264       }
   259       if (is_subrange)
   265       if (is_subrange)
   260     	  s4o.print(")");
   266         s4o.print(")");
   261       return NULL;
   267       return NULL;
   262     }
   268     }
   263 
   269 
   264 /***************************/
   270 /***************************/
   265 /* 2.1.6 - Pragmas */
   271 /* 2.1.6 - Pragmas */