interrogate: Fix some badly formatted code

This commit is contained in:
rdb 2022-10-10 15:10:53 +02:00
parent e6036b5209
commit 834be5c7a0

View File

@ -595,8 +595,7 @@ main(int argc, char **argv) {
<< " *\n" << " *\n"
<< " */\n\n"; << " */\n\n";
if(the_output_include != nullptr) if (the_output_include != nullptr) {
{
output_code << "#include \"" << output_include_filename << "\"\n"; output_code << "#include \"" << output_include_filename << "\"\n";
*the_output_include << "#include \"" << output_include_filename.get_fullpath_wo_extension() << "_pynative.h\"\n"; *the_output_include << "#include \"" << output_include_filename.get_fullpath_wo_extension() << "_pynative.h\"\n";
} }
@ -608,9 +607,9 @@ main(int argc, char **argv) {
} }
} }
if (the_output_include != nullptr) {
if(the_output_include != nullptr)
*the_output_include << "#endif // #define " << output_include_filename.get_basename_wo_extension() << "__HH__\n"; *the_output_include << "#endif // #define " << output_include_filename.get_basename_wo_extension() << "__HH__\n";
}
// And now output the bulk of the database. // And now output the bulk of the database.
if (!output_data_filename.empty()) { if (!output_data_filename.empty()) {