YYFIX(1) BSD Reference Manual YYFIX(1) NNAAMMEE yyyyffiixx - extract tables from y.tab.c SSYYNNOOPPSSIISS yyyyffiixx _f_i_l_e [_t_a_b_l_e_s] DDEESSCCRRIIPPTTIIOONN Programs have historically used a script (often named ``:yyfix'') to ex- tract tables from the yacc(1) generated file _y_._t_a_b_._c. As the names of the tables generated by the current version of yacc are different from those of historical versions of yacc, the shell script yyyyffiixx is provided to simplify the transition. The first (and required) argument to yyyyffiixx is the name of the file where the extracted tables should be stored. If further command line arguments are specified, they are taken as the list of tables to be extracted. Otherwise, yyyyffiixx attempts to determine if the _y_._t_a_b_._c file is from an old or new yacc, and extracts the appro- priate tables. The tables ``yyexca'', ``yyact'', ``yypact'', ``yypgo'', ``yyr1'', ``yyr2'', ``yychk'', and ``yydef'' are extracted from historical versions of yacc. The tables ``yylhs'', ``yylen'', ``yydefred'', ``yydgoto'', ``yysindex'', ``yyrindex'', ``yygindex'', ``yytable'', ``yyname'', ``yyrule'', and ``yycheck'', are extracted from the current version of yacc. FFIILLEESS y.tab.c File from which tables are extracted. SSEEEE AALLSSOO yacc(1) HHIISSTTOORRYY The yyyyffiixx command appears in 4.4BSD. 4.4BSD March 23, 1993 1