--- 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()