mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
bugfix in the C parser
This commit is contained in:
@@ -1236,6 +1236,7 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset,
|
|||||||
PgfLexiconIdxEntry* entry = gu_buf_extend(state->lexicon_idx);
|
PgfLexiconIdxEntry* entry = gu_buf_extend(state->lexicon_idx);
|
||||||
entry->idx = seq->idx;
|
entry->idx = seq->idx;
|
||||||
entry->offset = state->start_offset;
|
entry->offset = state->start_offset;
|
||||||
|
entry->sym_idx= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add non-epsilon lexical rules to the bottom up index
|
// Add non-epsilon lexical rules to the bottom up index
|
||||||
|
|||||||
Reference in New Issue
Block a user