Add STANDARDS, ENVIRONMENT, and TABLES sections.

Obtained from:	OpenBSD
This commit is contained in:
David E. O'Brien 2002-04-04 21:31:03 +00:00
parent 1149868b6a
commit 947ba7d8b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93822

View File

@ -34,6 +34,7 @@
.\"
.\" @(#)yacc.1 5.8 (Berkeley) 5/24/93
.\" $FreeBSD$
.\" $OpenBSD: yacc.1,v 1.14 2001/05/01 17:58:05 aaron Exp $
.\"
.Dd May 24, 1993
.Dt YACC 1
@ -115,13 +116,31 @@ Cause a human-readable description of the generated parser to
be written to the file
.Pa y.output .
.El
.Pp
If the environment variable
.Ev TMPDIR
is set, the string denoted by
.Ev TMPDIR
will be used as the name of the directory where the temporary
files are created.
.Sh ENVIRONMENT
.Bl -tag -width TMPDIR
.It Ev TMPDIR
Name of directory where temporary files are to be created.
.Sh TABLES
The names of the tables generated by this version of
.Nm
are
.Dq yylhs ,
.Dq yylen ,
.Dq yydefred ,
.Dq yydgoto ,
.Dq yysindex ,
.Dq yyrindex ,
.Dq yygindex ,
.Dq yytable ,
and
.Dq yycheck .
Two additional tables,
.Dq yyname
and
.Dq yyrule ,
are created if
.Dv YYDEBUG
is defined and non-zero.
.Sh FILES
.Bl -tag -width /tmp/yacc.aXXXXXXXXXX -compact
.It Pa y.code.c
@ -133,7 +152,16 @@ files are created.
.It Pa /tmp/yacc.uXXXXXXXXXX
.El
.Sh DIAGNOSTICS
If there are rules that are never reduced, the number of such rules is
reported on standard error.
If there are any LALR(1) conflicts, the number of conflicts is reported
on standard error.
If there are rules that are never reduced,
the number of such rules is reported on standard error.
If there are any
.Tn LALR(1)
conflicts,
the number of conflicts is reported on standard error.
.Sh SEE ALSO
.Xr yyfix 1
.Sh STANDARDS
The
.Nm
utility conforms to
.St -p1003.2 .