( includeFile, category )
| 178 | return "stdc++" |
| 179 | |
| 180 | def formattedInclude( includeFile, category ) : |
| 181 | |
| 182 | if includeFile.startswith( "FT_" ) and includeFile.endswith( "_H" ) : |
| 183 | openBracket = "" |
| 184 | closeBracket = "" |
| 185 | else : |
| 186 | isStd = category in ( "stdc", "stdc++" ) |
| 187 | openBracket = "<" if isStd else '"' |
| 188 | closeBracket = ">" if isStd else '"' |
| 189 | |
| 190 | |
| 191 | return "#include {0}{1}{2}\n".format( |
| 192 | openBracket, |
| 193 | includeFile, |
| 194 | closeBracket |
| 195 | ) |
| 196 | |
| 197 | def fixFile( filename ) : |
| 198 |