summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-06-23 21:12:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-06-23 21:12:45 (GMT)
commitd497898d92c2d2e3495505095563f07549dc2201 (patch)
tree4786c7f47c0280d74828ce09dd0a0f1bf1bcdea6 /src/commentscan.l
parentf160c0c8c0545b1f397fbc7892bf9f71995cf790 (diff)
downloadDoxygen-d497898d92c2d2e3495505095563f07549dc2201.zip
Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.gz
Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.bz2
Release-1.4.3-20050623
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 9181776..ff6e603 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -327,6 +327,7 @@ static Protection protection;
static bool xrefAppendFlag;
static bool inGroupParamFound;
static int braceCount;
+static bool insidePre;
//-----------------------------------------------------------------------------
@@ -618,6 +619,7 @@ static inline void setOutput(OutputContext ctx)
break;
}
}
+
inContext = ctx;
switch(inContext)
{
@@ -876,8 +878,13 @@ MAILADR [a-z_A-Z0-9.+\-]+"@"[a-z_A-Z0-9\-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-]
if (inContext!=OutputBrief)
{
addOutput(yytext);
+ setOutput(OutputDoc);
+ }
+ else
+ {
+ setOutput(OutputDoc);
+ addOutput(yytext);
}
- setOutput(OutputDoc);
lineCount();
}
<Comment>"." { // potential end of a JavaDoc style comment
@@ -2099,6 +2106,7 @@ bool parseCommentBlock(/* in */ ParserInterface *parser,
needNewEntry = FALSE;
xrefKind = XRef_None;
xrefAppendFlag = FALSE;
+ insidePre = FALSE;
outputXRef.resize(0);
setOutput( isBrief || isJavaDocStyle ? OutputBrief : OutputDoc );
briefEndsAtDot = isJavaDocStyle;