diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-12-27 20:36:39 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-12-27 20:36:39 (GMT) |
commit | d4da97f32ddc6c44df781b3b7b762be0101b9bac (patch) | |
tree | 0e4517c465cd2c2702cd62de3f3f29bc068bc1da /src/commentscan.l | |
parent | cbb944eb7796b2501628c65de1c014d7cca48dcd (diff) | |
download | Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.zip Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.tar.gz Doxygen-d4da97f32ddc6c44df781b3b7b762be0101b9bac.tar.bz2 |
Release-1.4.5-20051227
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 76f50f1..fba617b 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -698,8 +698,8 @@ static int yyread(char *buf,int max_size) /* start command character */ CMD ("\\"|"@") -DCMD1 ("arg"|"attention"|"author"|"bug"|"code") -DCMD2 ("date"|"deprecated"|"dot"|"dotfile"|"example") +DCMD1 ("arg"|"attention"|"author"|"code") +DCMD2 ("date"|"dot"|"dotfile"|"example") DCMD3 ("htmlinclude"|"htmlonly"|"image"|"include") DCMD4 ("includelineno"|"internal"|"invariant") DCMD5 ("latexonly"|"li"|"line"|"manonly"|"name") @@ -707,9 +707,10 @@ DCMD6 ("note"|"par"|"paragraph"|"param"|"post") DCMD7 ("pre"|"remarks"|(("relate"[sd])("also")?)) DCMD8 ("remarks"|("return"[s]?)|"retval"|"sa"|"section") DCMD9 ("see"|"since"|"subsection"|"subsubsection") -DCMD10 ("test"|"throw"|"todo"|"until"|"verbatim") -DCMD11 ("verbinclude"|"version"|"warning"|"xrefitem") +DCMD10 ("throw"|"until"|"verbatim") +DCMD11 ("verbinclude"|"version"|"warning") DETAILEDCMD {CMD}({DCMD1}|{DCMD2}|{DCMD3}|{DCMD4}|{DCMD5}|{DCMD6}|{DCMD7}|{DCMD8}|{DCMD9}|{DCMD10}|{DCMD11}) +XREFCMD {CMD}("bug"|"deprecated"|"test"|"todo"|"xrefitem") PRE [pP][rR][eE] TABLE [tT][aA][bB][lL][eE] P [pP] @@ -810,7 +811,7 @@ MAILADR [a-z_A-Z0-9.+\-]+"@"[a-z_A-Z0-9\-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-] <Comment>("\\"[a-z_A-Z]+)+"\\" { // directory (or chain of commands!) addOutput(yytext); } -<Comment>{DETAILEDCMD}/[^a-z_A-Z]* { // command that can end a brief description +<Comment>{XREFCMD}/[^a-z_A-Z]* { // command that can end a brief description if (inContext!=OutputXRef) { briefEndsAtDot=FALSE; @@ -819,6 +820,12 @@ MAILADR [a-z_A-Z0-9.+\-]+"@"[a-z_A-Z0-9\-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-] // continue with the same input REJECT; } +<Comment>{DETAILEDCMD}/[^a-z_A-Z]* { // command that can end a brief description + briefEndsAtDot=FALSE; + setOutput(OutputDoc); + // continue with the same input + REJECT; + } <Comment>"<"{DETAILEDHTML}{ATTR}">" { // HTML command that ends a brief description setOutput(OutputDoc); // continue with the same input |