summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-06-23 21:12:45 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-06-23 21:12:45 (GMT)
commitf92ed7a658968bac5b777322fea4d7216e41b487 (patch)
tree4786c7f47c0280d74828ce09dd0a0f1bf1bcdea6 /src/commentscan.l
parent069dd778bce176ab42cdd83c7c78ad4e5200ae32 (diff)
downloadDoxygen-f92ed7a658968bac5b777322fea4d7216e41b487.zip
Doxygen-f92ed7a658968bac5b777322fea4d7216e41b487.tar.gz
Doxygen-f92ed7a658968bac5b777322fea4d7216e41b487.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;