Index: third_party/hunspell/src/hunspell/htypes.hxx |
=================================================================== |
--- third_party/hunspell/src/hunspell/htypes.hxx (revision 50428) |
+++ third_party/hunspell/src/hunspell/htypes.hxx (working copy) |
@@ -1,6 +1,16 @@ |
#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 |
#define ROTATE(v,q) \ |