summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-04 21:31:03 +0000
committerobrien <obrien@FreeBSD.org>2002-04-04 21:31:03 +0000
commitcc9830e3c2e98230b0991e00e57a5c2706cbad81 (patch)
tree44152f8dc8b41dbe04cfe537b43c6ef62c025daa /usr.bin/yacc
parent485d7951bdebecb277a9449214d9bab3e2a364c8 (diff)
downloadFreeBSD-src-cc9830e3c2e98230b0991e00e57a5c2706cbad81.zip
FreeBSD-src-cc9830e3c2e98230b0991e00e57a5c2706cbad81.tar.gz
Add STANDARDS, ENVIRONMENT, and TABLES sections.
Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r--usr.bin/yacc/yacc.150
1 files changed, 39 insertions, 11 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1
index 6a210f1..25cdff7 100644
--- a/usr.bin/yacc/yacc.1
+++ b/usr.bin/yacc/yacc.1
@@ -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 .
OpenPOWER on IntegriCloud