stage4/generate_c/generate_c_st.cc
changeset 169 bea932bc60b0
parent 167 ae423926bc84
child 202 da1a8186f86f
equal deleted inserted replaced
168:225db59fe6fe 169:bea932bc60b0
   480     /* Get the value from ENO param */
   480     /* Get the value from ENO param */
   481     symbol_c *ENO_param_value = function_call_param_iterator.search(&eno_param_name);
   481     symbol_c *ENO_param_value = function_call_param_iterator.search(&eno_param_name);
   482     if (ENO_param_value != NULL)
   482     if (ENO_param_value != NULL)
   483       nb_param --;
   483       nb_param --;
   484     ADD_PARAM_LIST(ENO_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_out)
   484     ADD_PARAM_LIST(ENO_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_out)
   485 
   485     
   486     #include "st_code_gen.c"
   486     #include "st_code_gen.c"
   487 
   487     
   488   }
   488   }
   489   else {
   489   else {
   490     /* loop through each function parameter, find the value we should pass
   490     /* loop through each function parameter, find the value we should pass
   491      * to it, and then output the c equivalent...
   491      * to it, and then output the c equivalent...
   492      */
   492      */
   570         /* TODO! */
   570         /* TODO! */
   571         ERROR;
   571         ERROR;
   572         break;
   572         break;
   573     } /* switch */
   573     } /* switch */
   574   }  
   574   }  
   575 
   575   
   576   s4o.print(")");
   576   s4o.print(")");
   577   s4o.indent_left();
   577   s4o.indent_left();
   578 
   578 
   579   return NULL;
   579   return NULL;
   580 }
   580 }