def convert(filename, tofilename, php_tpl):
+ header = ldelim + "*\n *\tAUTOMATICALLY GENERATED TEMPLATE\n *\tDO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN\n *\n *" + rdelim
+ tofilename.write(header)
+
for line in filename:
newline = ''
st_pos = 0