fix scanning parser

This commit is contained in:
siikamiika 2020-01-26 00:46:23 +02:00
parent 7a2dbb6f73
commit d2430783fd

View File

@ -307,8 +307,8 @@ class Backend {
const [definitions, sourceLength] = await this.translator.findTermsInternal( const [definitions, sourceLength] = await this.translator.findTermsInternal(
text.substring(0, options.scanning.length), text.substring(0, options.scanning.length),
dictEnabledSet(options), dictEnabledSet(options),
options.scanning.alphanumeric, {},
{} options
); );
if (definitions.length > 0) { if (definitions.length > 0) {
dictTermsSort(definitions); dictTermsSort(definitions);