116 lines
3.3 KiB
Groff
116 lines
3.3 KiB
Groff
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
|
|
.\" All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)yyfix.1 5.4 (Berkeley) 3/23/93
|
|
.\" %FreeBSD: src/usr.bin/yacc/yyfix.1,v 1.7 2002/11/26 15:34:18 ru Exp %
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd March 23, 1993
|
|
.Dt YYFIX 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm yyfix
|
|
.Nd y.tab.c ¥Õ¥¡¥¤¥ë¤«¤é¥Æ¡¼¥Ö¥ë¤ò¼è¤ê½Ð¤¹
|
|
.Sh ½ñ¼°
|
|
.Nm yyfix
|
|
.Ar file
|
|
.Op Ar tables
|
|
.Sh ²òÀâ
|
|
Îò»ËŪ¤Ë¤Ï¡¢
|
|
.Xr yacc 1
|
|
¤¬À¸À®¤·¤¿¥Õ¥¡¥¤¥ë
|
|
.Pa y.tab.c
|
|
¤«¤é¥Æ¡¼¥Ö¥ë¤ò¼è¤ê½Ð¤¹¤¿¤á¤Ë¡¢
|
|
¤¢¤ë¥¹¥¯¥ê¥×¥È (ÂçÄñ¤Ï
|
|
.Dq :yyfix
|
|
¤È¤¤¤¦Ì¾Á°¤Î¤â¤Î) ¤¬ÍѤ¤¤é¤ì¤Æ¤¤Þ¤·¤¿¡£
|
|
¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
|
|
.Xr yacc 1
|
|
¤¬À¸À®¤¹¤ë¥Æ¡¼¥Ö¥ë̾¤Ï¡¢¤³¤ì¤Þ¤Ç¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
|
|
.Xr yacc 1
|
|
¤¬À¸À®¤¹¤ë¤â¤Î¤È°Û¤Ê¤ë¤Î¤Ç¡¢
|
|
¤³¤ÎÊÑ´¹¤ò´Êñ¤Ë¤¹¤ë¤¿¤á¤Ë¥·¥§¥ë¥¹¥¯¥ê¥×¥È
|
|
.Nm
|
|
¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
.Pp
|
|
.Nm
|
|
¤ÎºÇ½é¤Î (¤½¤·¤Æɬ¿Ü¤Î) °ú¿ô¤Ï¡¢
|
|
¼è¤ê½Ð¤·¤¿¥Æ¡¼¥Ö¥ë¤ò³ÊǼ¤¹¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£
|
|
.Pp
|
|
¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤¬¹¹¤Ë»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
|
|
¤½¤ì¤é¤Ï¼è¤ê½Ð¤¹¥Æ¡¼¥Ö¥ë¤Î¥ê¥¹¥È¤È²ò¼á¤µ¤ì¤Þ¤¹¡£
|
|
¤½¤ì°Ê³°¤Î¾ì¹ç¡¢
|
|
.Nm
|
|
¤Ï¥Õ¥¡¥¤¥ë
|
|
.Pa y.tab.c
|
|
¤¬¿·µì¤¤¤º¤ì¤Î
|
|
.Xr yacc 1
|
|
¤«¤éÀ¸À®¤µ¤ì¤¿¤â¤Î¤«¤òȽÄꤷ¡¢
|
|
ŬÀڤʥơ¼¥Ö¥ë¤ò¼è¤ê½Ð¤½¤¦¤È¤·¤Þ¤¹¡£
|
|
.Pp
|
|
°ÊÁ°¤Î
|
|
.Xr yacc 1
|
|
¤«¤é¼è¤ê½Ð¤µ¤ì¤ë¥Æ¡¼¥Ö¥ë¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹:
|
|
.Dq yyexca ,
|
|
.Dq yyact ,
|
|
.Dq yypact ,
|
|
.Dq yypgo ,
|
|
.Dq yyr1 ,
|
|
.Dq yyr2 ,
|
|
.Dq yychk ,
|
|
.Dq yydef
|
|
.Pp
|
|
¸½¥Ð¡¼¥¸¥ç¥ó¤Î
|
|
.Xr yacc 1
|
|
¤«¤é¼è¤ê½Ð¤µ¤ì¤ë¥Æ¡¼¥Ö¥ë¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹:
|
|
.Dq yylhs ,
|
|
.Dq yylen ,
|
|
.Dq yydefred ,
|
|
.Dq yydgoto ,
|
|
.Dq yysindex ,
|
|
.Dq yyrindex ,
|
|
.Dq yygindex ,
|
|
.Dq yytable ,
|
|
.Dq yyname ,
|
|
.Dq yyrule ,
|
|
.Dq yycheck
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width y.tab.c
|
|
.It Pa y.tab.c
|
|
¥Æ¡¼¥Ö¥ë¤ò¼è¤ê½Ð¤¹¸µ¤È¤Ê¤ë¥Õ¥¡¥¤¥ë
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr yacc 1
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.Bx 4.4
|
|
¤Ç½é¤á¤ÆÅо줷¤Þ¤·¤¿¡£
|