diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-21 12:36:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-21 12:36:45 (GMT) |
commit | cd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (patch) | |
tree | a854db582634296d7f019de53e424561da555e5b /src/scanner.l | |
parent | e2eb1d33d197604c048fb035fd1b6ecbd6a7494a (diff) | |
download | Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.zip Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.gz Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.bz2 |
Release-1.6.3
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/scanner.l b/src/scanner.l index b7d70aa..590413d 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -145,7 +145,7 @@ static bool insideTryBlock=FALSE; static bool insideCode; static bool needsSemi; -static int depthIf; +//static int depthIf; static int initBracketCount; static QCString memberGroupRelates; static QCString memberGroupInside; @@ -5495,7 +5495,7 @@ static void parseCompounds(Entry *rt) // ce->name.data(),ce->program.data()); // init scanner state padCount=0; - depthIf = 0; + //depthIf = 0; inputString = ce->program; inputPosition = 0; scanYYrestart( scanYYin ) ; @@ -5577,10 +5577,10 @@ static void parseCompounds(Entry *rt) ce->program.resize(0); - if (depthIf>0) - { - warn(yyFileName,yyLineNr,"Documentation block ended in the middle of a conditional section!"); - } + //if (depthIf>0) + //{ + // warn(yyFileName,yyLineNr,"Documentation block ended in the middle of a conditional section!"); + //} } parseCompounds(ce); } @@ -5598,7 +5598,7 @@ static void parseMain(const char *fileName,const char *fileBuf,Entry *rt) g_inputFromFile = FALSE; //anonCount = 0; // don't reset per file - depthIf = 0; + //depthIf = 0; protection = Public; mtype = Method; gstat = FALSE; @@ -5648,10 +5648,10 @@ static void parseMain(const char *fileName,const char *fileBuf,Entry *rt) //forceEndGroup(); groupLeaveFile(yyFileName,yyLineNr); - if (depthIf>0) - { - warn(yyFileName,yyLineNr,"Documentation block ended in the middle of a conditional section!"); - } + //if (depthIf>0) + //{ + // warn(yyFileName,yyLineNr,"Documentation block ended in the middle of a conditional section!"); + //} rt->program.resize(0); delete current; current=0; |