diff options
author | steve <steve@FreeBSD.org> | 1997-01-06 02:05:28 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-01-06 02:05:28 +0000 |
commit | 1b086b5eb34e706aa2c425ee82f30e7c5262a46b (patch) | |
tree | ba6b15cd22ccae1d52e1052906a088f0bf89574e /usr.bin/yacc/yacc.1 | |
parent | 774419801bc39ff806459ffb263dc85bcb1e48a5 (diff) | |
download | FreeBSD-src-1b086b5eb34e706aa2c425ee82f30e7c5262a46b.zip FreeBSD-src-1b086b5eb34e706aa2c425ee82f30e7c5262a46b.tar.gz |
Implement and document a '-o output_file_name' option to
allow the generated code to be written to a file other
than the default, y.tab.c.
Inspired by: bde and brian@mediacity.com
Diffstat (limited to 'usr.bin/yacc/yacc.1')
-rw-r--r-- | usr.bin/yacc/yacc.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1 index 787dc00..3175a22 100644 --- a/usr.bin/yacc/yacc.1 +++ b/usr.bin/yacc/yacc.1 @@ -86,6 +86,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_file_name\fR +The +.B -o +option causes +.I yacc +to write the generated code to +.IR output_file_name +instead of the default file, +.IR y.tab.c . +.TP \fB-p \fIsymbol_prefix\fR The .B -p |