diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-05-17 23:31:53 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-05-17 23:31:53 +0000 |
commit | 774db206968ab30a7c62d2f168ebe539628e67f9 (patch) | |
tree | 50fec1de8900474569902315892975e2da942dc5 /usr.bin/yacc/yacc.1 | |
parent | 650f53e0ab086f348050477f8fe236e8f101b6e9 (diff) |
documentation tweaks.
ok (some time ago) jmc@
Diffstat (limited to 'usr.bin/yacc/yacc.1')
-rw-r--r-- | usr.bin/yacc/yacc.1 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1 index 6aab55a0c3a..0ad2336369e 100644 --- a/usr.bin/yacc/yacc.1 +++ b/usr.bin/yacc/yacc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: yacc.1,v 1.19 2007/05/31 19:20:20 jmc Exp $ +.\" $OpenBSD: yacc.1,v 1.20 2008/05/17 23:31:52 sobrado Exp $ .\" .\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)yacc.1 5.7 (Berkeley) 7/30/91 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: May 17 2008 $ .Dt YACC 1 .Os .Sh NAME @@ -43,14 +43,14 @@ parser generator .Sh SYNOPSIS .Nm yacc .Op Fl dlrtv -.Op Fl b Ar prefix +.Op Fl b Ar file_prefix .Op Fl o Ar output_file .Op Fl p Ar symbol_prefix -.Ar filename +.Ar file .Sh DESCRIPTION .Nm -reads the grammar specification in the file -.Ar filename +reads the grammar specification in +.Ar file and generates an .Tn LR(1) parser for it. @@ -64,12 +64,12 @@ normally writes the parse tables and the driver routine to the file .Pp The options are as follows: .Bl -tag -width Ds -.It Fl b Ar prefix +.It Fl b Ar file_prefix The .Fl b option changes the prefix prepended to the output file names to the string denoted by -.Ar prefix . +.Ar file_prefix . The default prefix is the character .Ar y . .It Fl d |