We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ce6f6 commit ac9a81fCopy full SHA for ac9a81f
src/org/opensolaris/opengrok/analysis/rust/RustXref.lex
@@ -80,13 +80,7 @@ File = [a-zA-Z]{FNameChar}* "." ([Rr][Ss] | [Cc][Oo][Nn][Ff] | [Tt][Xx][Tt] |
80
\; { endScope(); writeUnicodeChar(yycharat(0)); }
81
{Identifier} {
82
String id = yytext();
83
- // For historical reasons, RustXref does not link identifiers of
84
- // length=1
85
- if (id.length() > 1) {
86
- writeSymbol(id, Consts.kwd, yyline);
87
- } else {
88
- out.write(id);
89
- }
+ writeSymbol(id, Consts.kwd, yyline);
90
}
91
"<" ({File}|{FPath}) ">" {
92
out.write("<");
0 commit comments