Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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	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(1) are	different from
     those of historical versions of yacc(1), the shell	script yyfix is	pro-
     vided 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(1),	and extracts the ap-
     propriate tables.

     The tables	"yyexca", "yyact", "yypact", "yypgo", "yyr1", "yyr2", "yychk",
     and "yydef" are extracted from historical versions	of yacc(1).

     The tables	"yylhs", "yylen", "yydefred", "yydgoto", "yysindex",
     "yyrindex", "yygindex", "yytable",	"yyname", "yyrule", and	"yycheck", are
     extracted from the	current	version	of yacc(1).

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

SEE ALSO
     yacc(1)

HISTORY
     The yyfix command first appeared in 4.4BSD.

BSD				March 23, 1993				   BSD

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=yyfix&sektion=1&manpath=FreeBSD+5.2-RELEASE+and+Ports>

home | help