Skip to content

Commit 9d42d50

Browse files
committed
issue #10962 std:: hypertext link if a class documents std() function
In case we don't do an `unput` we have to regularly output (codify) the input
1 parent 4a9be13 commit 9d42d50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/code.l

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,11 +1727,16 @@ ENDQopt ("const"|"volatile"|"sealed"|"override")({BN}+("const"|"volatile"|"seale
17271727
}
17281728
}
17291729
<MemberCall,MemberCall2,FuncCall>[;:] { // recover from unexpected end of call
1730-
if (yytext[0]==';' || yyextra->bracketCount<=0)
1730+
//if (yytext[0]==';' || yyextra->bracketCount<=0)
1731+
if (yyextra->bracketCount<=0)
17311732
{
17321733
unput(*yytext);
17331734
BEGIN(CallEnd);
17341735
}
1736+
else
1737+
{
1738+
yyextra->code->codify(yytext);
1739+
}
17351740
}
17361741
<CallEnd>[ \t\n]* { codifyLines(yyscanner,yytext); }
17371742
<CallEnd>[;:] {

0 commit comments

Comments
 (0)