Navigation Menu

Skip to content

Commit

Permalink
Stop when doxygen configuration file ("Doxyfile") cannot be read
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
albert-github committed Aug 23, 2015
1 parent 5c2b6c2 commit b8bd3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.l
Expand Up @@ -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 "";
}
Expand Down

0 comments on commit b8bd3d8

Please sign in to comment.