summaryrefslogtreecommitdiff
path: root/usr.bin/yacc/yyfix.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-01-20 05:07:50 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-01-20 05:07:50 +0000
commited6e3804f506d9ab323dfd9d02b5c54396a39f4d (patch)
tree6e0c46e829cf9582931776ee3e96aa45487c8b2f /usr.bin/yacc/yyfix.1
parent48a5ade7f11c1928f5be23155463d19958dc4852 (diff)
Obvious .Xr fixes, found while testing mandocdb(8).
Diffstat (limited to 'usr.bin/yacc/yyfix.1')
-rw-r--r--usr.bin/yacc/yyfix.116
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/yacc/yyfix.1 b/usr.bin/yacc/yyfix.1
index 7bebdf8f224..ce74903e849 100644
--- a/usr.bin/yacc/yyfix.1
+++ b/usr.bin/yacc/yyfix.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: yyfix.1,v 1.4 2007/05/31 19:20:20 jmc Exp $
+.\" $OpenBSD: yyfix.1,v 1.5 2014/01/20 05:07:48 schwarze Exp $
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)yyfix.1 5.4 (Berkeley) 3/23/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 20 2014 $
.Dt YYFIX 1
.Os
.Sh NAME
@@ -44,10 +44,8 @@ extract tables from the
.Xr yacc 1
generated file
.Pa y.tab.c .
-As the names of the tables generated by the current version of
-.Xr yacc
-are different from those of historical versions of
-.Xr yacc ,
+As the names of the tables generated by the current version of yacc
+are different from those of historical versions of yacc,
the shell script
.Nm yyfix
is provided to simplify the transition.
@@ -63,7 +61,7 @@ Otherwise,
attempts to determine if the
.Pa y.tab.c
file is from an old or new
-.Xr yacc ,
+.Xr yacc 1 ,
and extracts the appropriate tables.
.Pp
The tables
@@ -78,7 +76,7 @@ and
.Dq yydef
are extracted
from historical versions of
-.Xr yacc .
+.Xr yacc 1 .
.Pp
The tables
.Dq yylhs ,
@@ -94,7 +92,7 @@ The tables
and
.Dq yycheck ,
are extracted from the current version of
-.Xr yacc .
+.Xr yacc 1 .
.Sh FILES
.Bl -tag -width y.tab.c
.It Pa y.tab.c