now there is a limit of 2000000 items in the chart of the robust parser. This prevents from explosion in the memory size but it will also prevent us from parsing some sentences.

This commit is contained in:
kr.angelov
2012-06-12 11:30:01 +00:00
parent 8828a226a0
commit 7549a4876d
4 changed files with 30 additions and 0 deletions

View File

@@ -245,6 +245,7 @@ struct PgfConcr {
PgfCallbacksMap* callbacks;
int total_cats;
int max_fid;
int item_quota;
};
extern GU_DECLARE_TYPE(PgfConcr, struct);