diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-30 09:59:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-30 09:59:51 (GMT) |
commit | 5dc8371ffb4fb0542a67656b0de900e265e96dc1 (patch) | |
tree | 868e726eaeb10f08842e43a7179b53d857569b33 /src/config.l | |
parent | 4bd50c9f0dc1d7b1413a6bda587b8a5999cd7a19 (diff) | |
parent | 189feb213f71f8fda716cff9d8f7393dc6b96bea (diff) | |
download | Doxygen-5dc8371ffb4fb0542a67656b0de900e265e96dc1.zip Doxygen-5dc8371ffb4fb0542a67656b0de900e265e96dc1.tar.gz Doxygen-5dc8371ffb4fb0542a67656b0de900e265e96dc1.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.l b/src/config.l index 63a5b30..2a16905 100644 --- a/src/config.l +++ b/src/config.l @@ -242,7 +242,7 @@ QStrList &Config::getList(const char *fileName,int num,const char *name) const } else if (opt->kind()!=ConfigOption::O_List) { - config_err("%d<%d>: Internal error: Requested option %s not of list type!\n",fileName,num,name); + config_err("%s<%d>: Internal error: Requested option %s not of list type!\n",fileName,num,name); exit(1); } return *((ConfigList *)opt)->valueRef(); @@ -1077,7 +1077,7 @@ void Config::checkFileName(const char *optionName) (val=="no" || val=="false" || val=="0" || val=="none")) { config_err("file name expected for option %s, got %s instead. Ignoring...\n",optionName,s.data()); - s=""; // note tihe use of &s above: this will change the option value! + s=""; // note the use of &s above: this will change the option value! } } @@ -1763,6 +1763,7 @@ static QCString configFileToString(const char *name) if (!fileOpened) { config_err("cannot open file `%s' for reading\n",name); + exit(1); } return ""; } |