# HG changeset patch # User etisserant # Date 1231086093 -3600 # Node ID 60a124678842bd02dddcd0ef9051920960112333 # Parent a27957e13d426e19777e961bfa8234bc917303c9 Fixed typo in EN/ENO parameters handling for std library functions diff -r a27957e13d42 -r 60a124678842 stage4/generate_c/generate_c_st.cc --- a/stage4/generate_c/generate_c_st.cc Tue Dec 23 13:21:19 2008 +0100 +++ b/stage4/generate_c/generate_c_st.cc Sun Jan 04 17:21:33 2009 +0100 @@ -472,7 +472,7 @@ EN_param_value = (symbol_c*)(new boolean_literal_c((symbol_c*)(new bool_type_name_c()), new boolean_true_c())); ADD_PARAM_LIST(EN_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_in) - identifier_c eno_param_name("EN0"); + identifier_c eno_param_name("ENO"); /* Get the value from ENO param */ symbol_c *ENO_param_value = function_call_param_iterator.search(&eno_param_name); ADD_PARAM_LIST(ENO_param_value, (symbol_c*)(new bool_type_name_c()), function_param_iterator_c::direction_out) @@ -629,7 +629,7 @@ for(int i = 1; (param_name = fp_iterator.next()) != NULL; i++) { function_param_iterator_c::param_direction_t param_direction = fp_iterator.param_direction(); - fprintf(stderr, "param : %s\n", param_name->value); + /*fprintf(stderr, "param : %s\n", param_name->value);*/ /* Get the value from a foo( = ) style call */ symbol_c *param_value = function_call_param_iterator.search(param_name);