Commit 2a4c230b authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge branch 'master' of github.com:doxygen/doxygen

parents 2a22c7d4 d2ec9b11
...@@ -628,7 +628,15 @@ REFWORD {LABELID}|{REFWORD2}|{REFWORD3}|{LNKWORD2} ...@@ -628,7 +628,15 @@ REFWORD {LABELID}|{REFWORD2}|{REFWORD3}|{LNKWORD2}
QCString tagName(yytext+1); QCString tagName(yytext+1);
int index=tagName.find(':'); int index=tagName.find(':');
g_token->name = tagName.left(index+1); g_token->name = tagName.left(index+1);
g_token->text = tagName.mid(index+2,tagName.length()-index-3); int text_begin = index+2;
int text_end = tagName.length()-1;
if (tagName[text_begin-1]==':') /* check for Subversion fixed-length keyword */
{
++text_begin;
if (tagName[text_end-1]=='#')
--text_end;
}
g_token->text = tagName.mid(text_begin,text_end-text_begin);
return TK_RCSTAG; return TK_RCSTAG;
} }
<St_Para,St_HtmlOnly>"$("{ID}")" { /* environment variable */ <St_Para,St_HtmlOnly>"$("{ID}")" { /* environment variable */
......
...@@ -3173,9 +3173,10 @@ static void writePageIndex(OutputList &ol) ...@@ -3173,9 +3173,10 @@ static void writePageIndex(OutputList &ol)
PageDef *pd=0; PageDef *pd=0;
for (pdi.toFirst();(pd=pdi.current());++pdi) for (pdi.toFirst();(pd=pdi.current());++pdi)
{ {
if (pd->getOuterScope()==0 || if ((pd->getOuterScope()==0 ||
pd->getOuterScope()->definitionType()!=Definition::TypePage pd->getOuterScope()->definitionType()!=Definition::TypePage) && // not a sub page
) // not a sub page !pd->isReference() // not an external page
)
{ {
writePages(pd,ftv); writePages(pd,ftv);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment