summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c
index 715fae04e..500db0fba 100644
--- a/src/runtime/c/pgf/parser.c
+++ b/src/runtime/c/pgf/parser.c
@@ -1187,7 +1187,7 @@ pgf_parsing_lookahead(PgfParsing *ps, PgfParseState* state)
PgfLexiconIdxEntry* entry = gu_buf_extend(state->lexicon_idx);
entry->idx = seq->idx;
entry->bind_type = bind_type;
- entry->offset = (current - ps->sentence);
+ entry->offset = (current - ps->sentence);
}
i = k+1;
goto next;
@@ -1339,7 +1339,7 @@ pgf_parsing_td_predict(PgfParsing* ps,
// Top-down prediction for syntactic rules
for (size_t i = 0; i < ccat->n_synprods; i++) {
PgfProduction prod =
- gu_seq_get(ccat->prods, PgfProduction, i);
+ gu_seq_get(ccat->prods, PgfProduction, i);
pgf_parsing_production(ps, ps->before, conts, prod);
}
@@ -1363,7 +1363,7 @@ pgf_parsing_td_predict(PgfParsing* ps,
if (value != NULL) {
pgf_parsing_predict_lexeme(ps, state, conts, value);
-
+
PgfProductionIdxEntry* start =
gu_buf_data(lentry->idx);
PgfProductionIdxEntry* end =