interrogate: write out OS-generic filenames in #include directives

Fixes #386
This commit is contained in:
rdb 2018-09-13 20:42:16 +02:00
parent 3417b9df09
commit 8b3cc74cad

View File

@ -516,7 +516,7 @@ main(int argc, char **argv) {
cerr << "Error parsing file: '" << argv[i] << "'\n";
exit(1);
}
builder.add_source_file(filename);
builder.add_source_file(filename.to_os_generic());
}
// Now that we've parsed all the source code, change the way things are