summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-03-18 10:19:35 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-03-18 10:19:35 +0000
commita1446b87fad10b79d67f11cb2c167621f0b7b724 (patch)
treef743b408c93fce06b3191f9a8d7ad8d9a64f8108 /src/runtime/c
parent891ca74186af10e7118a7f63bfa694fbcd5c2b1c (diff)
whitespace cleanup in the parser
Diffstat (limited to 'src/runtime/c')
-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 =