From 17bc8e5c89805f5971e46f8f45c5e4eda970c561 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 12 Apr 2012 06:55:25 +0000 Subject: some fixes in the robust parser and a new API for literals --- src/runtime/c/pgf/parser.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/runtime/c/pgf/parser.h') diff --git a/src/runtime/c/pgf/parser.h b/src/runtime/c/pgf/parser.h index dc033385b..4e42fbaa0 100644 --- a/src/runtime/c/pgf/parser.h +++ b/src/runtime/c/pgf/parser.h @@ -103,6 +103,18 @@ pgf_parse_result(PgfParse* parse, GuPool* pool); PgfExpr pgf_parse_best_result(PgfParse* parse, GuPool* pool); + +int +pgf_item_lin_idx(PgfItem* item); + +void +pgf_item_sequence(PgfItem* item, + int* lin_idx, PgfSequence* seq, + GuPool* pool); + +int +pgf_item_sequence_length(PgfItem* item); + /** @} */ #endif // PGF_PARSER_H_ -- cgit v1.2.3