diff -r 06454545e5d0 -r 017a65259f07 generate_IEC_std.py --- a/generate_IEC_std.py Wed Oct 24 16:01:06 2007 +0200 +++ b/generate_IEC_std.py Wed Oct 24 17:40:04 2007 +0200 @@ -24,14 +24,14 @@ """ - THIS CODE GENARATES C++ CODE FOR IEC2CC COMPILER + THIS CODE GENARATES C++ CODE FOR IEC2C COMPILER GENERATED CODE IS : function_type_decl.h - the long enumeration of std function types get_function_type_decl.c - the funct that return enumerated according function name -st_code_gen.c - part of generate_cc_st_c::visit(function_invocation) +st_code_gen.c - part of generate_c_st_c::visit(function_invocation) responsible to generate C code for std lib calls -il_code_gen.c - part of generate_cc_il_c::visit(il_function_call) +il_code_gen.c - part of generate_c_il_c::visit(il_function_call) responsible to generate C code for std lib calls search_type_code.c - called by search_expression_type_c::visit(function_invocation) return type symbol for std function invocation @@ -98,7 +98,7 @@ def ANY_to_compiler_test_type_GEN(typename, paramname): """ - Convert ANY_XXX IEC type declaration into IEC2CC's generated type test. + Convert ANY_XXX IEC type declaration into IEC2C's generated type test. This tests are defined in search_expression_type.cc """ return {"ANY" : "", @@ -314,7 +314,7 @@ """ ################################################################### """ -Generate the part of generate_cc_st_c::visit(function_invocation) +Generate the part of generate_c_st_c::visit(function_invocation) that is responsible to generate C code for std lib calls. """ st_code_gen = matiec_header + """ @@ -351,7 +351,7 @@ ################################################################### """ -Generate the part of generate_cc_il_c::visit(il_function_call) +Generate the part of generate_c_il_c::visit(il_function_call) that is responsible to generate C code for std lib calls. """ il_code_gen = matiec_header + """ @@ -520,11 +520,11 @@ # Now, print that out, or write to files from sys.argv for path, name, ext in [ - ('stage4/generate_cc','function_type_decl','h'), - ('stage4/generate_cc','get_function_type_decl','c'), - ('stage4/generate_cc','st_code_gen','c'), - ('stage4/generate_cc','il_code_gen','c'), - ('stage4/generate_cc','search_type_code','c'), + ('stage4/generate_c','function_type_decl','h'), + ('stage4/generate_c','get_function_type_decl','c'), + ('stage4/generate_c','st_code_gen','c'), + ('stage4/generate_c','il_code_gen','c'), + ('stage4/generate_c','search_type_code','c'), ('stage1_2','standard_function_names','c'), ('lib', 'iec_std_lib_generated','h') ]: