From 47e5e8c9663c35495419ae59ab4d1cd9709ec0e2 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Sat, 18 Feb 2012 16:22:40 +0000 Subject: libpgf: now the linearization index is created during the grammar loading which also makes the types PgfLzr and PgfParser redundant. --- src/runtime/c/pgf/parser.h | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (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 127bed5dc..26cc61210 100644 --- a/src/runtime/c/pgf/parser.h +++ b/src/runtime/c/pgf/parser.h @@ -17,30 +17,6 @@ typedef struct PgfParse PgfParse; -/** @name Creating a new parser - * - * A #PgfParser object can parse sentences of a single concrete category into - * abstract syntax trees (#PgfExpr). The parser is created with - * #pgf_new_parser. - * - * @{ - */ - -/// A parser for a single concrete category -typedef struct PgfParser PgfParser; - - -/// Create a new parser -PgfParser* -pgf_new_parser(PgfConcr* concr, GuPool* pool); -/**< - * @param concr The concrete category whose sentences are to be parsed - * - * @pool - * - * @return A newly created parser for the concrete category \p concr - */ - /** @} * * @name Parsing a sentence @@ -57,7 +33,7 @@ pgf_new_parser(PgfConcr* concr, GuPool* pool); /// Begin parsing PgfParse* -pgf_parser_parse(PgfParser* parser, PgfCId cat, size_t lin_idx, GuPool* pool); +pgf_parser_parse(PgfConcr* concr, PgfCId cat, size_t lin_idx, GuPool* pool); /**< * @param parser The parser to use * -- cgit v1.2.3