From 5aad1d84045b2b0ab67035d5e7c90d3ffd3cbe39 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 29 Nov 2022 20:14:33 +0100 Subject: [PATCH] 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 --- dtool/src/interrogate/interrogate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/interrogate/interrogate.cxx b/dtool/src/interrogate/interrogate.cxx index 2b2a756727..0d873762b1 100644 --- a/dtool/src/interrogate/interrogate.cxx +++ b/dtool/src/interrogate/interrogate.cxx @@ -513,7 +513,7 @@ main(int argc, char **argv) { for (i = 1; i < argc; ++i) { Filename filename = Filename::from_os_specific(argv[i]); if (!parser.parse_file(filename)) { - cerr << "Error parsing file: '" << argv[i] << "'\n"; + cerr << "interrogate failed to parse file: '" << argv[i] << "'\n"; exit(1); } builder.add_source_file(filename.to_os_generic());