summaryrefslogtreecommitdiffstats
path: root/src/doc.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-04-21 17:27:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-04-21 17:27:45 (GMT)
commit210582f8060fb41f6ad34d8315c9dd27b1bb6834 (patch)
tree4859bfed167f695f5ce9e9c0f2f6f02313de2ed3 /src/doc.l
parent481a46c5ec227eaf82bfef99b742b793a727b8ec (diff)
downloadDoxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.zip
Doxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.tar.gz
Doxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.tar.bz2
Release-1.2.15-20020421
Diffstat (limited to 'src/doc.l')
-rw-r--r--src/doc.l10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/doc.l b/src/doc.l
index 982f273..3863d4b 100644
--- a/src/doc.l
+++ b/src/doc.l
@@ -1161,12 +1161,12 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
BEGIN( DocScan );
}
<DocScan>{CMD}"verbatim"/[^a-z_A-Z0-9] {
- outDoc->startCodeFragment();
+ outDoc->startVerbatimFragment();
insideVerbatim=TRUE;
BEGIN(DocVerbatim);
}
<DocVerbatim>{CMD}"endverbatim"/[^a-z_A-Z0-9] {
- outDoc->endCodeFragment();
+ outDoc->endVerbatimFragment();
insideVerbatim=FALSE;
BEGIN(DocScan);
}
@@ -1225,7 +1225,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
BEGIN( DocLinkText );
}
<DocJavaLink>([a-z_A-Z0-9]+".")+ { /* Skip scope prefix (TODO: fix) */ }
-<DocJavaLink>([a-z_A-Z0-9]*"#")?[a-z_A-Z0-9]+("("[a-z_A-Z0-9.,:~&*()\[\]]*")")?({B}*("const"|"volatile"))? { // TODO: support operators as well!
+<DocJavaLink>([a-z_A-Z0-9]*"#")?[a-z_A-Z0-9]+("("[a-z_A-Z0-9.,:~&*()\ \[\]]*")")?({B}*("const"|"volatile"))? { // TODO: support operators as well!
linkRef = yytext;
linkText = "";
BEGIN( DocJavaLinkText );
@@ -1272,6 +1272,10 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG})
BEGIN(DocScan);
}
<DocScan>{CMD}("arg"|"li")/{BN} {
+ if (insideItemList)
+ {
+ forceEndItemList();
+ }
if (insideArgumentList)
{
outDoc->writeListItem();