From 9a2725279e0ce992fd0717582a78a0abdac51fa9 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 20 Nov 2013 09:54:37 +0000 Subject: fix in the Python binding --- src/runtime/c/pgf/pgf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/c') diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index ffc293306..606cb9940 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -158,6 +158,12 @@ pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat, GuExn* err, GuPool* pool, GuPool* out_pool); +typedef struct { + PgfToken tok; + PgfCId cat; + prob_t prob; +} PgfTokenProb; + GuEnum* pgf_complete(PgfConcr* concr, PgfCId cat, GuString string, GuString prefix, GuExn* err, GuPool* pool); -- cgit v1.2.3