From 3ad2f2b7c2bfb3166363239d67a6645692ffb2b6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Aug 2022 17:13:21 +0300 Subject: fixes #3183 (Update hunspell to 1.7.1) --- libs/hunspell/src/affixmgr.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libs/hunspell/src/affixmgr.hxx') diff --git a/libs/hunspell/src/affixmgr.hxx b/libs/hunspell/src/affixmgr.hxx index d41e69cfd2..450f50a65c 100644 --- a/libs/hunspell/src/affixmgr.hxx +++ b/libs/hunspell/src/affixmgr.hxx @@ -1,7 +1,7 @@ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * - * Copyright (C) 2002-2017 Németh László + * Copyright (C) 2002-2022 Németh László * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with @@ -120,8 +120,6 @@ class AffixMgr { FLAG nongramsuggest; FLAG needaffix; int cpdmin; - bool parsedrep; - std::vector reptable; RepList* iconvtable; RepList* oconvtable; bool parsedmaptable; @@ -251,6 +249,7 @@ class AffixMgr { short get_syllable(const std::string& word); int cpdrep_check(const char* word, int len); + int cpdwordpair_check(const char * word, int len); int cpdpat_check(const char* word, int len, hentry* r1, @@ -311,6 +310,7 @@ class AffixMgr { FLAG get_forbiddenword() const; FLAG get_nosuggest() const; FLAG get_nongramsuggest() const; + FLAG get_substandard() const; FLAG get_needaffix() const; FLAG get_onlyincompound() const; const char* get_derived() const; @@ -338,7 +338,6 @@ class AffixMgr { bool parse_flag(const std::string& line, unsigned short* out, FileMgr* af); bool parse_num(const std::string& line, int* out, FileMgr* af); bool parse_cpdsyllable(const std::string& line, FileMgr* af); - bool parse_reptable(const std::string& line, FileMgr* af); bool parse_convtable(const std::string& line, FileMgr* af, RepList** rl, -- cgit v1.2.3