Skip to content

Commit 5f56799

Browse files
committed
Allow to link single-char identifiers per Lubos
1 parent 7f5b779 commit 5f56799

File tree

1 file changed

+1
-5
lines changed
  • src/org/opensolaris/opengrok/analysis/vb

1 file changed

+1
-5
lines changed

src/org/opensolaris/opengrok/analysis/vb/VBXref.lex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ File = [a-zA-Z]{FNameChar}* "." ("vb"|"cls"|"frm"|"vbs"|"bas"|"ctl")
6060

6161
{Identifier} {
6262
String id = yytext();
63-
if (id.length() > 1) {
64-
writeSymbol(id, Consts.reservedKeywords, yyline, false);
65-
} else {
66-
out.write(id);
67-
}
63+
writeSymbol(id, Consts.reservedKeywords, yyline, false);
6864
}
6965

7066
"<" ({File}|{FPath}) ">" {

0 commit comments

Comments
 (0)