YYFIX(1) BSD Reference Manual YYFIX(1)
yyfix - extract tables from y.tab.c
yyfix file [tables]
Programs have historically used a script (often named ``:yyfix'') to ex- tract tables from the yacc(1) generated file y.tab.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 yyfix is provided to simplify the transition. The first (and required) argument to yyfix 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, yyfix attempts to determine if the y.tab.c file is from an old or new yacc, and extracts the appropriate 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.
y.tab.c File from which tables are extracted.
The yyfix command first appeared in 4.4BSD. MirOS BSD #10-current March 23, 1993 1
Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.