mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -04:00
interrogate: Change error message to mention interrogate
This makes it more obvious that the error is coming from interrogate when encountering a parse error in a build log
This commit is contained in:
parent
44dd2bd091
commit
5aad1d8404
@ -513,7 +513,7 @@ main(int argc, char **argv) {
|
|||||||
for (i = 1; i < argc; ++i) {
|
for (i = 1; i < argc; ++i) {
|
||||||
Filename filename = Filename::from_os_specific(argv[i]);
|
Filename filename = Filename::from_os_specific(argv[i]);
|
||||||
if (!parser.parse_file(filename)) {
|
if (!parser.parse_file(filename)) {
|
||||||
cerr << "Error parsing file: '" << argv[i] << "'\n";
|
cerr << "interrogate failed to parse file: '" << argv[i] << "'\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
builder.add_source_file(filename.to_os_generic());
|
builder.add_source_file(filename.to_os_generic());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user