diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-06-15 19:21:39 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-06-15 19:21:39 (GMT) |
commit | cf0e414d83f34ebf877abbe43a15c350876669d4 (patch) | |
tree | 3f2be46d34910503ef3532aa95aa0422e86cd993 /src/commentcnv.l | |
parent | ad65c6e23de430b2c4f0ef732b95834c87a28c20 (diff) | |
download | Doxygen-cf0e414d83f34ebf877abbe43a15c350876669d4.zip Doxygen-cf0e414d83f34ebf877abbe43a15c350876669d4.tar.gz Doxygen-cf0e414d83f34ebf877abbe43a15c350876669d4.tar.bz2 |
Release-1.4.3-20050615
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index d1c4ad7..c29e731 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -454,9 +454,16 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'")) <CondLine>[ \t]* <CComment,ReadLine>[\\@]"cond"[ \t]*\n | <CondLine>. { // forgot section id? + bool oldSkip=g_skip; startCondSection(" "); // fake section id causing the section to be hidden unconditionally + if (g_condCtx==CComment && !oldSkip && g_skip) + { + //printf("** Adding terminator for comment!\n"); + ADDCHAR('*'); + ADDCHAR('/'); + } if (*yytext=='\n') g_lineNr++; - if (YY_START==CondLine) BEGIN(g_condCtx); + BEGIN(g_condCtx); } <CComment,ReadLine>[\\@][a-z_A-Z][a-z_A-Z0-9]* { // expand alias QCString *pValue=Doxygen::aliasDict[yytext+1]; |