diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-20 15:28:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-20 15:28:39 (GMT) |
commit | c2f7cd247c5e712687640d88b834a54585e83425 (patch) | |
tree | de08f34f25a77a588ebb18998b4844a40773e61e /src/pre.l | |
parent | 0fc0de19ba79068ff7b6bad1e161393adcd865b8 (diff) | |
parent | b007be7c1671661f31f056b7b7b5f480279ddbd6 (diff) | |
download | Doxygen-c2f7cd247c5e712687640d88b834a54585e83425.zip Doxygen-c2f7cd247c5e712687640d88b834a54585e83425.tar.gz Doxygen-c2f7cd247c5e712687640d88b834a54585e83425.tar.bz2 |
Merge branch 'feature/bug_config' of https://github.com/albert-github/doxygen into albert-github-feature/bug_config
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3267,7 +3267,10 @@ void Preprocessor::processFile(const char *fileName,BufStr &input,BufStr &output int i_cbrace=ds.find(')'); bool nonRecursive = i_equals>0 && ds.at(i_equals-1)==':'; - if (i_obrace==0) continue; // no define name + if ((i_obrace==0) || (i_equals==0) || (i_equals==1 && ds.at(i_equals-1)==':')) + { + continue; // no define name + } if (i_obrace<i_equals && i_cbrace<i_equals && i_obrace!=-1 && i_cbrace!=-1 && |