#NEWLINE# def replaceHppmlIncludes( content ) : #NEWLINE# #INDENT# lines = content . split ( '\n' ) #NEWLINE# newContent = [ ] #NEWLINE# for l in lines : #NEWLINE# #INDENT# if l . strip ( ) . startswith ( '#include' ) : #NEWLINE# #INDENT# newContent . append ( l . replace ( '.hppml' , '.hpp_hppml' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# newContent . append ( l ) #NEWLINE# #UNINDENT# #UNINDENT# return '\n' . join ( newContent )