stage4/generate_c/generate_c_st.cc
changeset 208 c72748a12ae3
parent 202 da1a8186f86f
child 216 136d6ae70745
equal deleted inserted replaced
207:56ee922d0112 208:c72748a12ae3
   440     symbol_c *ENO_param_value = function_call_param_iterator.search_f(&eno_param_name);
   440     symbol_c *ENO_param_value = function_call_param_iterator.search_f(&eno_param_name);
   441     if (ENO_param_value != NULL)
   441     if (ENO_param_value != NULL)
   442       nb_param --;
   442       nb_param --;
   443     ADD_PARAM_LIST(ENO_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_out)
   443     ADD_PARAM_LIST(ENO_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_out)
   444 
   444 
   445     #define search(x) search_f(x)
       
   446     #define next() next_nf()
       
   447 //     #define search_constant_type_c::constant_int_type_name  search_expression_type_c::integer
       
   448     #define constant_int_type_name  integer
       
   449     #include "st_code_gen.c"
   445     #include "st_code_gen.c"
   450     #undef constant_int_type_name
       
   451 //     #undef search_constant_type_c::constant_int_type_name
       
   452     #undef next
       
   453     #undef  search
       
   454 
   446 
   455   }
   447   }
   456   else {
   448   else {
   457     /* loop through each function parameter, find the value we should pass
   449     /* loop through each function parameter, find the value we should pass
   458      * to it, and then output the c equivalent...
   450      * to it, and then output the c equivalent...