diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-02-21 12:36:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-02-21 12:36:45 (GMT) |
commit | 23b0a90048405fda4e4304052c3c1277c33a6a2b (patch) | |
tree | a854db582634296d7f019de53e424561da555e5b /src/scanner.l | |
parent | 20e951b95073ef5c1b76e9336c6281928e5c5a4d (diff) | |
download | Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.zip Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.tar.gz Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.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; |