diff options
-rw-r--r-- | usr.bin/yacc/yacc.1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1 index 2e616e5..596d154 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 |