summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-11 17:52:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-11 17:52:35 +0000
commited1d80799c291d0684d3b697fdcd59e984897ae8 (patch)
tree59bce56ccf940ed56026198427fb302f152c38ae /usr.bin
parentee0c86ef40f5162de7e35b9d908d8efbf9893c98 (diff)
from netbsd; Fetch `-p' documentation from a previous version of
the man page
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/yacc/yacc.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1
index 93191ba654c..5b7b0fc609e 100644
--- a/usr.bin/yacc/yacc.1
+++ b/usr.bin/yacc/yacc.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)yacc.1 5.7 (Berkeley) 7/30/91
-.\" $Id: yacc.1,v 1.1 1995/10/18 08:47:06 deraadt Exp $
+.\" $Id: yacc.1,v 1.2 1996/01/11 17:52:34 deraadt Exp $
.\"
.Dd July 30, 1991
.Dt YACC 1
@@ -47,6 +47,7 @@ parser generator
.Nm yacc
.Op Fl dlrtv
.Op Fl b Ar prefix
+.Op Fl p Ar symbol_prefix
.Ar filename
.Sh DESCRIPTION
.Nm Yacc
@@ -93,6 +94,14 @@ option is specified,
.Nm yacc
will not insert the #line directives.
#line directives specified by the user will be retained.
+.It Fl p Ar symbol_prefix
+The
+.Fl p
+option changes the prefix prepended to yacc-generated symbols to
+the string denoted by
+.Ar symbol_prefix .
+The default prefix is the string
+.Ar yy .
.It Fl r
The
.Fl r