From 2d898e78c0f8bc097db675392f829f53ed62347b Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 12 Apr 2018 14:45:02 +0200 Subject: [PATCH] bugfix in the C parser --- src/runtime/c/pgf/parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index 2650e2618..d12852a71 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -1236,6 +1236,7 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset, PgfLexiconIdxEntry* entry = gu_buf_extend(state->lexicon_idx); entry->idx = seq->idx; entry->offset = state->start_offset; + entry->sym_idx= 0; } // Add non-epsilon lexical rules to the bottom up index