* 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:
Akim Demaille
2000-10-16 18:33:38 +00:00
parent 1e9798d569
commit 43591cec98
4 changed files with 78 additions and 81 deletions

View File

@@ -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;
}