-extern char **tags;
-extern int *user_toknums;
-extern int tokensetsize;
-extern int final_state;
-extern core **state_table;
-extern shifts **shift_table;
-extern errs **err_table;
-extern reductions **reduction_table;
-extern short *accessing_symbol;
-extern unsigned *LA;
-extern short *LAruleno;
-extern short *lookaheads;
-extern char *consistent;
-extern short *goto_map;
-extern short *from_state;
-extern short *to_state;
-
-extern void output_headers PARAMS ((void));
-extern void output_trailers PARAMS ((void));
-extern void output PARAMS ((void));
-
-static void output_token_translations PARAMS ((void));
-static void output_gram PARAMS ((void));
-static void output_stos PARAMS ((void));
-static void output_rule_data PARAMS ((void));
-static void output_defines PARAMS ((void));
-static void output_actions PARAMS ((void));
-static void token_actions PARAMS ((void));
-static void save_row PARAMS ((int));
-static void goto_actions PARAMS ((void));
-static void save_column PARAMS ((int, int));
-static void sort_actions PARAMS ((void));
-static void pack_table PARAMS ((void));
-static void output_base PARAMS ((void));
-static void output_table PARAMS ((void));
-static void output_check PARAMS ((void));
-static void output_parser PARAMS ((void));
-static void output_program PARAMS ((void));
-static void free_shifts PARAMS ((void));
-static void free_reductions PARAMS ((void));
-static void free_itemsets PARAMS ((void));
-static int action_row PARAMS ((int));
-static int default_goto PARAMS ((int));
-static int matching_state PARAMS ((int));
-static int pack_vector PARAMS ((int));
-
-extern void berror PARAMS ((const char *));
-extern void reader_output_yylsp PARAMS ((FILE *));