diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
commit | 88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/doc.l | |
parent | 9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff) | |
download | Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.bz2 |
Release-1.2.8
Diffstat (limited to 'src/doc.l')
-rw-r--r-- | src/doc.l | 40 |
1 files changed, 31 insertions, 9 deletions
@@ -279,15 +279,6 @@ static void forceEndTable() //----------------------------------------------------------------------------- -static void endArgumentList() -{ - if (insideArgumentList) - { - insideArgumentList=FALSE; - outDoc->endItemList(); - } -} - static void includeFile(OutputDocInterface &od,const char *fileName,bool quiet) { bool ambig; @@ -645,6 +636,35 @@ static void forceEndItemList() insideItemList=FALSE; } +static void endArgumentList() +{ +#if 0 + IndentInfo *info; + while ((info=listIndentStack.pop())!=0) + { + delete info; + } + while (!currentListIndent.isEmpty()) + { + char c=*currentListIndent.pop(); + switch(c) + { + case 'O': outDoc->endEnumList(); break; + case 'U': outDoc->endItemList(); break; + case 'D': + if (!inBlock()) outDoc->endDescription(); + break; + } + } + insideItemList=FALSE; +#endif + if (insideArgumentList) + { + insideArgumentList=FALSE; + outDoc->endItemList(); + } +} + //----------------------------------------------------------------- enum ImageTypes @@ -1697,6 +1717,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG}) BEGIN(DocScan); } <DocRefName>({SCOPENAME}|{FILE}){B}+/"\"" { + //printf(">>> ref `%s'\n",yytext); sectionRef=yytext; sectionRef=sectionRef.stripWhiteSpace(); BEGIN(DocRefArgStart); @@ -1710,6 +1731,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG}) SectionInfo *sec; if ((sec=Doxygen::sectionDict[sectionRef])) { + //printf("Is a section!\n"); if (sec->type==SectionInfo::Anchor) { outDoc->writeObjectLink(sec->ref,sec->fileName,sec->label,text); |