From bcb97a336e56fa28c4f0061602e355a3ef5abaf6 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 14 Sep 2017 18:11:24 +0200 Subject: make the API for indexing in the parser and the linearizer public since it will be needed in the Haskell binding --- src/runtime/c/pgf/data.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/runtime/c/pgf/data.h') diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h index 83aff155f..45689dd11 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -351,4 +351,16 @@ struct PgfCCat { GuFinalizer fin[0]; }; +PGF_API_DECL void +pgf_parser_index(PgfConcr* concr, + PgfCCat* ccat, PgfProduction prod, + bool is_lexical, + GuPool *pool); + +PGF_API_DECL void +pgf_lzr_index(PgfConcr* concr, + PgfCCat* ccat, PgfProduction prod, + bool is_lexical, + GuPool *pool); + #endif -- cgit v1.2.3