diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
commit | ff31b2f109848ea3e08fb17d5821beb7af879193 (patch) | |
tree | 4859bfed167f695f5ce9e9c0f2f6f02313de2ed3 /src/doc.l | |
parent | bc629c9003d59b736cc996a05b95bac8ab50123a (diff) | |
download | Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.zip Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.gz Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.bz2 |
Release-1.2.15-20020421
Diffstat (limited to 'src/doc.l')
-rw-r--r-- | src/doc.l | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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(); |