yyfix man page on 4.4BSD

Printed from http://www.polarhome.com/service/man/?qf=yyfix&af=0&tf=2&of=4.4BSD

YYFIX(1)		  BSD General Commands Manual		      YYFIX(1)

NAME
     yyfix — extract tables from y.tab.c

SYNOPSIS
     yyfix file [tables]

DESCRIPTION
     Programs have historically used a script (often named ``:yyfix'') to
     extract 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 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.

FILES
     y.tab.c  File from which tables are extracted.

SEE ALSO
     yacc(1)

HISTORY
     The yyfix command appears in 4.4BSD.

4.4BSD				March 23, 1993				4.4BSD
[top]

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net