YYFIX(1) 1990 YYFIX(1) NNAAMMEE yyfix - extract tables from y.tab.c SSYYNNOOPPSSIISS yyfix file [ tables ] DDEESSCCRRIIPPTTIIOONN Programs have historically used a script (often named ``:yyfix'') to extract tables from the _y_a_c_c generated file ``y.tab.c''. As the names of the tables generated by the current version of _y_a_c_c are different from those of histori- cal versions of _y_a_c_c, the shell script _y_y_f_i_x is provided to simplify the transition. The first, required, argument to _y_y_f_i_x 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, _y_y_f_i_x attempts to determine if the ``y.tab.c'' file is from an old or new _y_a_c_c, and extracts the appropriate tables. The tables ``yyexca'', ``yyact'', ``yypact'', ``yypgo'', ``yyr1'', ``yyr2'', ``yychk'', and ``yydef'' are extracted from historical versions of _y_a_c_c. The tables ``yylhs'', ``yylen'', ``yydefred'', ``yydgoto'', ``yysindex'', ``yyrindex'', ``yygindex'', ``yytable'', ``yyname'', ``yyrule'' and ``yycheck'' are extracted from the current version of _y_a_c_c. FFIILLEESS y.tab.c File from which tables are extracted. SSEEEE AALLSSOO yacc(1) DDIIAAGGNNOOSSTTIICCSS BBUUGGSS Printed 7/27/90 May 1