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/data.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (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 ea466b0c3..d97b0b49d 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -182,13 +182,21 @@ extern PgfCCat pgf_ccat_string, pgf_ccat_int, pgf_ccat_float, pgf_ccat_var; typedef PgfCIdMap PgfPrintNames; extern GU_DECLARE_TYPE(PgfPrintNames, GuStringMap); +typedef GuStringMap PgfFunIndices; +extern GU_DECLARE_TYPE(PgfFunIndices, GuStringMap); + +typedef GuMap PgfCoerceIdx; +extern GU_DECLARE_TYPE(PgfCoerceIdx, GuMap); + struct PgfConcr { PgfFlags* cflags; PgfPrintNames* printnames; GuMap* ccats; PgfCCatSeq extra_ccats; + PgfFunIndices* fun_indices; + PgfCoerceIdx* coerce_idx; PgfCncFuns* cncfuns; - PgfSequences* sequences; + PgfSequences* sequences; PgfCIdMap* cnccats; int max_fid; }; -- cgit v1.2.3