mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53:04 +00:00
style: fix syntax-check issues
* src/counterexample.c, src/files.c, src/files.h, src/lssi.c, * src/state-item.c: here.
This commit is contained in:
@@ -219,7 +219,7 @@ expand_to_conflict (state_item_number start, symbol_number conflict_sym)
|
|||||||
{
|
{
|
||||||
gl_list_free (queue);
|
gl_list_free (queue);
|
||||||
fputs ("Error expanding derivation\n", stderr);
|
fputs ("Error expanding derivation\n", stderr);
|
||||||
exit (1);
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
derivation *dinit = derivation_new_leaf (conflict_sym);
|
derivation *dinit = derivation_new_leaf (conflict_sym);
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ static int generated_files_size = 0;
|
|||||||
uniqstr grammar_file = NULL;
|
uniqstr grammar_file = NULL;
|
||||||
|
|
||||||
/* If --output=dir/foo.c was specified,
|
/* If --output=dir/foo.c was specified,
|
||||||
DIR_PREFIX is 'dir/' and ALL_BUT_EXT and ALL_BUT_TAB_EXT are 'dir/foo'.
|
DIR_PREFIX gis 'dir/' and ALL_BUT_EXT and ALL_BUT_TAB_EXT are 'dir/foo'.
|
||||||
|
|
||||||
If --output=dir/foo.tab.c was specified, DIR_PREFIX is 'dir/',
|
If --output=dir/foo.tab.c was specified, DIR_PREFIX is 'dir/',
|
||||||
ALL_BUT_EXT is 'dir/foo.tab', and ALL_BUT_TAB_EXT is 'dir/foo'.
|
ALL_BUT_EXT is 'dir/foo.tab', and ALL_BUT_TAB_EXT is 'dir/foo'.
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ shortest_path_from_start (state_item_number target, symbol_number next_sym)
|
|||||||
{
|
{
|
||||||
gl_list_free (queue);
|
gl_list_free (queue);
|
||||||
fputs ("Cannot find shortest path to conflict state.", stderr);
|
fputs ("Cannot find shortest path to conflict state.", stderr);
|
||||||
exit (1);
|
abort ();
|
||||||
}
|
}
|
||||||
gl_list_t res =
|
gl_list_t res =
|
||||||
gl_list_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true);
|
gl_list_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user