summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/data.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-06-12 11:30:01 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-06-12 11:30:01 +0000
commitc9c5675e1dba3dc371d53c8255743e0eb38488e2 (patch)
tree8b0ebaee6197c13cc64048b7f25d176c45091141 /src/runtime/c/pgf/data.h
parent90306fa926bfebec64ffdd61524c67a45330cd46 (diff)
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.
Diffstat (limited to 'src/runtime/c/pgf/data.h')
-rw-r--r--src/runtime/c/pgf/data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h
index 7fe2fc7d3..f85e68cca 100644
--- a/src/runtime/c/pgf/data.h
+++ b/src/runtime/c/pgf/data.h
@@ -245,6 +245,7 @@ struct PgfConcr {
PgfCallbacksMap* callbacks;
int total_cats;
int max_fid;
+ int item_quota;
};
extern GU_DECLARE_TYPE(PgfConcr, struct);