You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2016/10/02 10:22:15 UTC
[04/12] lucenenet git commit: Fixed bug in
QueryParser.Surround.Parser.QueryParserTokenManager that caused all of the
Surround QueryParser tests to fail.
Fixed bug in QueryParser.Surround.Parser.QueryParserTokenManager that caused all of the Surround QueryParser tests to fail.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/5daf7020
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/5daf7020
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/5daf7020
Branch: refs/heads/master
Commit: 5daf702008a30c1ace762c67f25db98e2249b612
Parents: d4b005c
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Sep 22 12:28:40 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Sep 22 12:28:40 2016 +0700
----------------------------------------------------------------------
.../Surround/Parser/QueryParserTokenManager.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5daf7020/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserTokenManager.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserTokenManager.cs b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserTokenManager.cs
index 01fd465..84f7250 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserTokenManager.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserTokenManager.cs
@@ -686,7 +686,7 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
{
if (jjmatchedPos + 1 < curPos)
input_stream.Backup(curPos - jjmatchedPos - 1);
- if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
+ if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 63 /*077*/))) != 0L)
{
matchedToken = JjFillToken();
if (jjnewLexState[jjmatchedKind] != -1)