style: comment and formatting changes, and fixes

* examples/c/lexcalc/parse.y: Fix option handling.
* src/gram.h: Clarify comments.
* src/ielr.c: Fix indentation.
* src/print.c, src/state.h: More comments.
This commit is contained in:
Akim Demaille
2020-10-04 14:28:39 +02:00
parent 0328cbad64
commit 4b0cd01fb7
5 changed files with 20 additions and 15 deletions

View File

@@ -234,6 +234,8 @@ extern state *final_state;
/* Create a new state with ACCESSING_SYMBOL for those items. */
state *state_new (symbol_number accessing_symbol,
size_t core_size, item_index *core);
/* Create a new state with the same kernel as S (same accessing
symbol, transitions, reductions, consistency and items). */
state *state_new_isocore (state const *s);
/* Record that from S we can reach all the DST states (NUM of them). */