aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1997-05-14 02:33:08 +0000
committerSteve Price <steve@FreeBSD.org>1997-05-14 02:33:08 +0000
commit6e5f0e40e6d662aa04bd73b4548dbc8fad931863 (patch)
treef8a8e957aa31e1c5a88428e7c9e28d9b1e6ea3a4 /usr.bin/yacc
parent2c771b8c5f99953da57d3f2ab08b4f21425b7155 (diff)
Notes
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r--usr.bin/yacc/yacc.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1
index 2e616e5dea64..596d15495bf3 100644
--- a/usr.bin/yacc/yacc.1
+++ b/usr.bin/yacc/yacc.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)yacc.1 5.8 (Berkeley) 5/24/93
-.\" $Id$
+.\" $Id: yacc.1,v 1.6 1997/02/22 19:58:04 peter Exp $
.\"
.TH YACC 1 "May 24, 1993"
.UC 6
@@ -42,6 +42,8 @@ yacc \- an LALR(1) parser generator
.SH SYNOPSIS
.B yacc [ -dlrtv ] [ -b
.I file_prefix
+.B ] [ -o
+.I output_filename
.B ] [ -p
.I symbol_prefix
.B ]
@@ -87,6 +89,16 @@ If the \fB-l\fR option is specified,
will not insert the #line directives.
Any #line directives specified by the user will be retained.
.TP
+\fB-o \fIoutput_filename\fR
+The
+.B -o
+option causes
+.I yacc
+to write the generated code to
+.IR output_filename
+instead of the default file,
+.IR y.tab.c .
+.TP
\fB-p \fIsymbol_prefix\fR
The
.B -p