diff options
author | albert-github <albert.tests@gmail.com> | 2015-08-23 07:53:20 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-08-23 07:53:20 (GMT) |
commit | b8bd3d84590d9adee7084f066f0e3e8c75a99245 (patch) | |
tree | 23bc7f153407e99df358ef2d090194d093591193 | |
parent | 5c2b6c294535a0dabe29b5ef311b4975eccb2357 (diff) | |
download | Doxygen-b8bd3d84590d9adee7084f066f0e3e8c75a99245.zip Doxygen-b8bd3d84590d9adee7084f066f0e3e8c75a99245.tar.gz Doxygen-b8bd3d84590d9adee7084f066f0e3e8c75a99245.tar.bz2 |
Stop when doxygen configuration file ("Doxyfile") cannot be read
When the configuration file cannot be read a default configuration is used ad as the error message "error: cannot open file `Doxyfile' for reading" is show at the top of the output this is easily overseen.
By stopping the doxygen process it is made clearer that there is an error.
-rw-r--r-- | src/config.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l index 1bbe320..5949b46 100644 --- a/src/config.l +++ b/src/config.l @@ -1756,6 +1756,7 @@ static QCString configFileToString(const char *name) if (!fileOpened) { config_err("cannot open file `%s' for reading\n",name); + exit(1); } return ""; } |