*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> yyfix (1)              



NAME    [Toc]    [Back]

     yyfix - extract tables from y.tab.c

SYNOPSIS    [Toc]    [Back]

     yyfix file [tables]

DESCRIPTION    [Toc]    [Back]

     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 appropriate

     The tables  ``yyexca'',  ``yyact'',  ``yypact'',  ``yypgo'',
     ``yyr2'',  ``yychk'',  and ``yydef'' are extracted from historical versions
     of yacc.

     The tables ``yylhs'', ``yylen'', ``yydefred'',  ``yydgoto'',
     ``yyrindex'',    ``yygindex'',    ``yytable'',   ``yyname'',
``yyrule'', and
     ``yycheck'', are extracted from the current version of yacc.

FILES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]


HISTORY    [Toc]    [Back]

     The yyfix command first appeared in 4.4BSD.

OpenBSD      3.6                          March      23,     1993
[ Back ]
 Similar pages
Name OS Title
strtok Linux extract tokens from strings
gss_canonicalize_name Tru64 Extract single mechanism name from
File::Basename IRIX extract just the directory from a path
strsep Linux extract token from string
amparse IRIX extract information from an availmon report
basename OpenBSD extract the base portion of a pathname
kallsyms Linux Extract all kernel symbols for debugging
dirname OpenBSD extract the directory portion of a pathname
ar FreeBSD create, modify, and extract from archives
mint_from_mac IRIX extract a sensitivity label from a mac_t
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service