mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
fix in the Python binding
This commit is contained in:
@@ -158,6 +158,12 @@ pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat,
|
|||||||
GuExn* err,
|
GuExn* err,
|
||||||
GuPool* pool, GuPool* out_pool);
|
GuPool* pool, GuPool* out_pool);
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
PgfToken tok;
|
||||||
|
PgfCId cat;
|
||||||
|
prob_t prob;
|
||||||
|
} PgfTokenProb;
|
||||||
|
|
||||||
GuEnum*
|
GuEnum*
|
||||||
pgf_complete(PgfConcr* concr, PgfCId cat, GuString string,
|
pgf_complete(PgfConcr* concr, PgfCId cat, GuString string,
|
||||||
GuString prefix, GuExn* err, GuPool* pool);
|
GuString prefix, GuExn* err, GuPool* pool);
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include <gu/map.h>
|
#include <gu/map.h>
|
||||||
#include <gu/file.h>
|
#include <gu/file.h>
|
||||||
#include <pgf/pgf.h>
|
#include <pgf/pgf.h>
|
||||||
#include <pgf/lexer.h>
|
|
||||||
#include <pgf/linearizer.h>
|
#include <pgf/linearizer.h>
|
||||||
|
|
||||||
static PyObject* PGFError;
|
static PyObject* PGFError;
|
||||||
|
|||||||
Reference in New Issue
Block a user