diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-02-22 21:27:54 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-02-22 21:27:54 +0000 |
| commit | b99fa6aa9a828f98f82d2ede6266069f4c11cbc5 (patch) | |
| tree | 7b44aed70334165dfd0cf294da233dc8d106b7f4 /src/runtime/c/pgf/data.h | |
| parent | 26d5bcd3949d5327b411057b3de5d4ecbe710914 (diff) | |
libpgf: now we have both complete bottom up index for robust parsing and fast lexical lookup from the same index
Diffstat (limited to 'src/runtime/c/pgf/data.h')
| -rw-r--r-- | src/runtime/c/pgf/data.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h index cf0e00d82..36c5e509c 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -189,10 +189,11 @@ extern GU_DECLARE_TYPE(PgfFunIndices, GuStringMap); typedef GuMap PgfCoerceIdx; extern GU_DECLARE_TYPE(PgfCoerceIdx, GuMap); -typedef GuStringMap PgfLexiconIdx; -extern GU_DECLARE_TYPE(PgfLexiconIdx, GuStringMap); +typedef GuStringMap PgfTransitions; +extern GU_DECLARE_TYPE(PgfTransitions, GuStringMap); -typedef GuBuf PgfEpsilonIdx; +typedef GuMap PgfEpsilonIdx; +extern GU_DECLARE_TYPE(PgfEpsilonIdx, GuMap); struct PgfConcr { PgfFlags* cflags; @@ -200,7 +201,7 @@ struct PgfConcr { GuMap* ccats; PgfFunIndices* fun_indices; PgfCoerceIdx* coerce_idx; - PgfLexiconIdx* lexicon_idx; + PgfTransitions* lexicon_idx; PgfEpsilonIdx* epsilon_idx; PgfCncFuns* cncfuns; PgfSequences* sequences; |
