Annotation of 43BSDReno/pgrm/yacc/yyfix.1, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1990 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted
                      5: .\" provided that: (1) source distributions retain this entire copyright
                      6: .\" notice and comment, and (2) distributions including binaries display
                      7: .\" the following acknowledgement:  ``This product includes software
                      8: .\" developed by the University of California, Berkeley and its contributors''
                      9: .\" in the documentation or other materials provided with the distribution
                     10: .\" and in all advertising materials mentioning features or use of this
                     11: .\" software. Neither the name of the University nor the names of its
                     12: .\" contributors may be used to endorse or promote products derived
                     13: .\" from this software without specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     15: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     16: .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"    @(#)yyfix.1     5.2 (Berkeley) 5/12/90
                     19: .\"
                     20: .TH YYFIX 1 "May 12, 1990"
                     21: .UC 7
                     22: .SH NAME
                     23: yyfix \- extract tables from y.tab.c
                     24: .SH SYNOPSIS
                     25: yyfix file [ tables ]
                     26: .SH DESCRIPTION
                     27: Programs have historically used a script (often named ``:yyfix'') to
                     28: extract tables from the
                     29: .I yacc
                     30: generated file ``y.tab.c''.
                     31: As the names of the tables generated by the current version of
                     32: .I yacc
                     33: are different from those of historical versions of
                     34: .IR yacc ,
                     35: the shell script
                     36: .I yyfix
                     37: is provided to simplify the transition.
                     38: .PP
                     39: The first, required, argument to
                     40: .I yyfix
                     41: is the name of the file where the extracted tables should be stored.
                     42: .PP
                     43: If further command line arguments are specified, they are taken as
                     44: the list of tables to be extracted.
                     45: Otherwise,
                     46: .I yyfix
                     47: attempts to determine if the ``y.tab.c'' file is from an old or new
                     48: .IR yacc ,
                     49: and extracts the appropriate tables.
                     50: .PP
                     51: The tables ``yyexca'', ``yyact'', ``yypact'', ``yypgo'',
                     52: ``yyr1'', ``yyr2'', ``yychk'', and ``yydef'' are extracted
                     53: from historical versions of
                     54: .IR yacc .
                     55: .PP
                     56: The tables ``yylhs'', ``yylen'', ``yydefred'', ``yydgoto'', ``yysindex'',
                     57: ``yyrindex'', ``yygindex'', ``yytable'', ``yyname'', ``yyrule'' and
                     58: ``yycheck'' are extracted from the current version of
                     59: .IR yacc .
                     60: .SH FILES
                     61: y.tab.c                File from which tables are extracted.
                     62: .SH SEE ALSO
                     63: yacc(1)
                     64: .SH DIAGNOSTICS
                     65: .SH BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.