summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/data.h
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-25 12:20:48 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-25 12:20:48 +0200
commitd103fe675564cf9ab19280d2eb580842f520f717 (patch)
tree1b58a5468046944e1b0dab603bcf4f392326ab13 /src/runtime/c/pgf/data.h
parent5f39d062b7ea5fc388e121089ed169f8a23d0b17 (diff)
make pgf_production_is_lexical public since it will be needed in the Haskell binding
Diffstat (limited to 'src/runtime/c/pgf/data.h')
-rw-r--r--src/runtime/c/pgf/data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h
index 45689dd11..45685c82d 100644
--- a/src/runtime/c/pgf/data.h
+++ b/src/runtime/c/pgf/data.h
@@ -351,6 +351,10 @@ struct PgfCCat {
GuFinalizer fin[0];
};
+PGF_API_DECL bool
+pgf_production_is_lexical(PgfProductionApply *papp,
+ GuBuf* non_lexical_buf, GuPool* pool);
+
PGF_API_DECL void
pgf_parser_index(PgfConcr* concr,
PgfCCat* ccat, PgfProduction prod,