style: rename grammar_start_symbols_set as grammar_start_symbols_add

* src/reader.h, src/reader.c (grammar_start_symbols_set): Rename as...
(grammar_start_symbols_add): this.
Adjust dependencies.
This commit is contained in:
Akim Demaille
2020-11-22 11:18:20 +01:00
parent 5af04b99dd
commit d798851e48
4 changed files with 4 additions and 7 deletions

View File

@@ -51,12 +51,9 @@ bool union_seen = false;
/* Should rules have a default precedence? */
bool default_prec = true;
/*-----------------------.
| Set the start symbol. |
`-----------------------*/
void
grammar_start_symbols_set (symbol_list *syms)
grammar_start_symbols_add (symbol_list *syms)
{
start_symbols = symbol_list_append (start_symbols, syms);
}