summaryrefslogtreecommitdiffstats
path: root/src/doc.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-02-25 17:49:47 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-02-25 17:49:47 (GMT)
commitba755dd4450d68ee0d47f6d465927b63e6dc3093 (patch)
tree0673a1c66696ceb0da0191a0e834b85eef8c50a2 /src/doc.l
parentd27070014e0f36246e7eec3899c7d55503b1a05a (diff)
downloadDoxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.zip
Doxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.tar.gz
Doxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.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)