From c38c81bd9c6a6161143ab9c407f54f8c8af5c059 Mon Sep 17 00:00:00 2001 From: erankor Date: Tue, 3 Jan 2017 00:18:04 +0200 Subject: [PATCH] support changing tokens in morph plugins --- src/sphinxquery.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sphinxquery.cpp b/src/sphinxquery.cpp index e7b2c22b2..074e7819e 100644 --- a/src/sphinxquery.cpp +++ b/src/sphinxquery.cpp @@ -1118,6 +1118,10 @@ int XQParser_t::GetToken ( YYSTYPE * lvalp ) if ( m_bEmptyStopword ) m_iAtomPos--; } + else + { + sToken = (const char *)sTmp; + } if ( bMultiDest && !bMultiDestHead ) {