From ed1d80799c291d0684d3b697fdcd59e984897ae8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 11 Jan 1996 17:52:35 +0000 Subject: from netbsd; Fetch `-p' documentation from a previous version of the man page --- usr.bin/yacc/yacc.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'usr.bin') 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 -- cgit v1.2.3