From 2b7240a0392f5aceddae552bfbeb6cb0068ecdae Mon Sep 17 00:00:00 2001 From: Adam Hornacek Date: Thu, 25 Nov 2021 17:00:41 -0500 Subject: [PATCH] Allow '.' in symbol tokens --- .../src/main/jflex/analysis/plain/PlainSymbolTokenizer.lex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opengrok-indexer/src/main/jflex/analysis/plain/PlainSymbolTokenizer.lex b/opengrok-indexer/src/main/jflex/analysis/plain/PlainSymbolTokenizer.lex index 90c3d48a500..5f9e655c99d 100644 --- a/opengrok-indexer/src/main/jflex/analysis/plain/PlainSymbolTokenizer.lex +++ b/opengrok-indexer/src/main/jflex/analysis/plain/PlainSymbolTokenizer.lex @@ -36,7 +36,7 @@ import org.opengrok.indexer.analysis.JFlexSymbolMatcher; %char %% -[a-zA-Z_] [a-zA-Z0-9_]* { +[a-zA-Z_] [a-zA-Z0-9_.]* { onSymbolMatched(yytext(), yychar); return yystate(); }