Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6877)

Unified Diff: chrome/third_party/hunspell/src/hunspell/htypes.hxx

Issue 18041: The first step towards Turkish spell-checker.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/third_party/hunspell/src/hunspell/hashmgr.cxx ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/third_party/hunspell/src/hunspell/htypes.hxx
===================================================================
--- chrome/third_party/hunspell/src/hunspell/htypes.hxx (revision 9076)
+++ chrome/third_party/hunspell/src/hunspell/htypes.hxx (working copy)
@@ -1,7 +1,15 @@
#ifndef _HTYPES_HXX_
#define _HTYPES_HXX_
+#ifdef HUNSPELL_CHROME_CLIENT
+// This is a workaround for preventing errors in parsing Turkish BDICs, which
+// contain very long AF lines (~ 12,000 chars).
+// TODO(hbono) change the HashMgr::parse_aliasf() function to be able to parse
+// longer lines than MAXDELEN.
+#define MAXDELEN (8192 * 2)
+#else
#define MAXDELEN 8192
+#endif // HUNSPELL_CHROME_CLIENT
#define ROTATE_LEN 5
« no previous file with comments | « chrome/third_party/hunspell/src/hunspell/hashmgr.cxx ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698