diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-03-28 11:19:01 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-03-28 11:19:01 (GMT) |
commit | 1b071a1ac3bf0f5be8026a6f4ff61c05995b48b3 (patch) | |
tree | 52e5383b60782984da9ce2a3e0fd1575f7172813 /src/pre.l | |
parent | 08bb311274f4f7402458fd8f0a53d2e8f0bbf998 (diff) | |
download | Doxygen-1b071a1ac3bf0f5be8026a6f4ff61c05995b48b3.zip Doxygen-1b071a1ac3bf0f5be8026a6f4ff61c05995b48b3.tar.gz Doxygen-1b071a1ac3bf0f5be8026a6f4ff61c05995b48b3.tar.bz2 |
Fix for unused variable JAVASCRIPT_LICENSE_TEXT.
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -40,7 +40,6 @@ #include <qdict.h> #include <qregexp.h> #include <qfileinfo.h> -#include <qdir.h> #include "pre.h" #include "constexp.h" @@ -351,10 +350,12 @@ struct preYY_state QCString defArgsStr; QCString defExtraSpacing; bool defVarArgs; - int level; int lastCContext; int lastCPPContext; + + int level; QArray<bool> levelGuard; + BufStr *inputBuf = 0; yy_size_t inputBufPos; BufStr *outputBuf = 0; @@ -3014,12 +3015,6 @@ static void readIncludeFile(yyscan_t yyscanner,const QCString &inc) if (oldFileDef) { bool ambig; - //QCString absPath = incFileName; - //if (QDir::isRelativePath(incFileName)) - //{ - // absPath = QDir::cleanDirPath(oldFileDef->getPath()+"/"+incFileName); - // //printf("%s + %s -> resolved path %s\n",oldFileDef->getPath().data(),incFileName.data(),absPath.data()); - //} // change to absolute name for bug 641336 FileDef *fd = findFileDef(Doxygen::inputNameDict,absIncFileName,ambig); |