summaryrefslogtreecommitdiffstats
path: root/src/doc.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-02-25 17:49:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-02-25 17:49:47 (GMT)
commit69fbf29b9b2be1bdf9132adb799f31ab343a642e (patch)
tree0673a1c66696ceb0da0191a0e834b85eef8c50a2 /src/doc.l
parent863353b89b228b87789e6d6c9257605acd796fff (diff)
downloadDoxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.zip
Doxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.tar.gz
Doxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.tar.bz2
Release-1.2.5-20010225
Diffstat (limited to 'src/doc.l')
-rw-r--r--src/doc.l24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/doc.l b/src/doc.l
index efeb291..90a2381 100644
--- a/src/doc.l
+++ b/src/doc.l
@@ -1120,6 +1120,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
outDoc->writeDescItem();
}
}
+ /*
<DocScan>{CMD}"bug"[s]?{BN}+ {
endArgumentList();
if (!inBugBlock)
@@ -1139,6 +1140,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
outDoc->writeDescItem();
}
}
+ */
<DocScan>{CMD}"note"[s]?{BN}+ {
endArgumentList();
if (!inNoteBlock)
@@ -1316,6 +1318,28 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
currentListIndent.pop();
}
}
+<DocScan>"\\bug "[0-9]+ { // this tag is generated in an earlier pass
+ if (Config::generateBugList)
+ {
+ QCString numStr=yytext;
+ numStr=numStr.right(numStr.length()-5);
+ bool ok; int num = numStr.toUInt(&ok);
+ RefItem *item = bugList.getRefItem(num);
+ ASSERT(item!=0);
+ endArgumentList();
+ if (inBlock()) endBlock();
+ currentListIndent.push("D");
+ outDoc->startDescList();
+ outDoc->startBold();
+ outDoc->writeObjectLink(0,"bug",item->listAnchor,theTranslator->trBug()+": ");
+ outDoc->endBold();
+ outDoc->endDescTitle();
+ outDoc->writeDescItem();
+ internalParseDocument(item->text);
+ outDoc->endDescList();
+ currentListIndent.pop();
+ }
+ }
<DocScan>{CMD}"deprecated"{BN}+ {
endArgumentList();
if (!inDeprecatedBlock)