# HG changeset patch # User etisserant # Date 1183800917 -7200 # Node ID 36d378bd852e8f08ca12e575aeb4daf2cb3e0f8a # Parent 8dc68e669d99c5780d399fb34a78c986ef9eb56a Stage4 changes according to new STD lib implementation diff -r 8dc68e669d99 -r 36d378bd852e generate_IEC_std.py --- a/generate_IEC_std.py Fri Jul 06 18:55:52 2007 +0200 +++ b/generate_IEC_std.py Sat Jul 07 11:35:17 2007 +0200 @@ -11,6 +11,7 @@ """ return {"ANY" : "", "ANY_BIT" : "if(search_expression_type->is_binary_type(%(paramname)s_type_symbol))", + "ANY_NBIT" : "if(search_expression_type->is_nbinary_type(%(paramname)s_type_symbol))", "ANY_NUM" : "if(search_expression_type->is_num_type(%(paramname)s_type_symbol))", "ANY_REAL" : "if(search_expression_type->is_real_type(%(paramname)s_type_symbol))", "ANY_INT" : "if(search_expression_type->is_integer_type(%(paramname)s_type_symbol))" @@ -405,8 +406,9 @@ ('get_function_type_decl','c'), ('st_code_gen','c'), ('il_code_gen','c'), - ('search_type_code','c'), - ('iec_std_lib_generated','h')]: + ('search_type_code','c')#, + #('iec_std_lib_generated','h') + ]: fd = open(os.path.join(sys.argv[1],name+'.'+ext),'w') fd.write(eval(name)) fd.close()