From cc9830e3c2e98230b0991e00e57a5c2706cbad81 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 4 Apr 2002 21:31:03 +0000 Subject: Add STANDARDS, ENVIRONMENT, and TABLES sections. Obtained from: OpenBSD --- usr.bin/yacc/yacc.1 | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) (limited to 'usr.bin/yacc') 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 . -- cgit v1.1