mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/output.c (output_short_or_char_table): New function.
(output_short_table, output_token_translations): Use it. (goto_actions): Use output_short_table.
This commit is contained in:
@@ -354,7 +354,9 @@ set_goto_map (void)
|
||||
|
||||
|
||||
|
||||
/* Map_goto maps a state/symbol pair into its numeric representation. */
|
||||
/*----------------------------------------------------------.
|
||||
| Map a state/symbol pair into its numeric representation. |
|
||||
`----------------------------------------------------------*/
|
||||
|
||||
static int
|
||||
map_goto (int state, int symbol)
|
||||
@@ -379,8 +381,8 @@ map_goto (int state, int symbol)
|
||||
high = middle - 1;
|
||||
}
|
||||
|
||||
berror ("map_goto");
|
||||
/* NOTREACHED */
|
||||
assert (0);
|
||||
/* NOTREACHED */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user