Skip to content

Commit

Permalink
issue #9669 Namespaces in arguments of a method breaks cref resolving…
Browse files Browse the repository at this point in the history
… in C#

In case of CSharp convert the type from the dot notation to the (internally used) double colon notation.
  • Loading branch information
albert-github committed Nov 10, 2022
1 parent 118609e commit ef95d88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -4497,7 +4497,8 @@ NONLopt [^\n]*
/*- Function argument reading rules ---------------------------------------*/
<ReadFuncArgType>[^ \/\r\t\n\[\]\)\(\"\'#]+ { *yyextra->copyArgString+=yytext;
yyextra->fullArgString+=yytext;
if (yyextra->insideCS) yyextra->fullArgString+=substitute(yytext,".","::");
else yyextra->fullArgString+=yytext;
}
<CopyArgString,CopyArgPHPString>[^\n\\\"\']+ { *yyextra->copyArgString+=yytext;
yyextra->fullArgString+=yytext;
Expand Down

0 comments on commit ef95d88

Please sign in to comment.