summaryrefslogtreecommitdiffstats
path: root/man/man1/yacc.1
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2024-01-31 20:47:13 +0300
committerDan Cross <crossd@gmail.com>2025-07-27 09:58:50 -0400
commit10564b11755ff2d48d0f5073c46571e806fa6fb4 (patch)
tree229252742051d83558fff2352642d0f57ba66615 /man/man1/yacc.1
parent00446db7d8fdb3ea56fa104643b34823960f7be2 (diff)
downloadplan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.tar.gz
plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.zip
tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package. The NEWS file states that the inclusion of the macro "was prompted by its introduction to Plan 9 from User Space's troff in August 2020." From d32deab it seems that the name for Plan 9 from User Space's implementation was suggested by groff maintainer G. Brandon Robinson. Not sure if the intention was to make these definitions compatible, but it would be nice if they were. Currently, Plan 9 from User Space's .MR expects its second argument to be parenthesized. groff's .MR does not. This results in extra parentheses appearing in manual references when viewing Plan 9 from User Space's manual pages on a system using groff.
Diffstat (limited to 'man/man1/yacc.1')
-rw-r--r--man/man1/yacc.16
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man1/yacc.1 b/man/man1/yacc.1
index b291473f..e642e629 100644
--- a/man/man1/yacc.1
+++ b/man/man1/yacc.1
@@ -23,7 +23,7 @@ to produce a program
This program must be loaded with a lexical analyzer function,
.B yylex(void)
(often generated by
-.MR lex (1) ),
+.MR lex 1 ),
with a
.B main(int argc, char *argv[])
program, and with an error handling routine,
@@ -115,7 +115,7 @@ option reverses this.
The parser accepts
.SM UTF
input text (see
-.MR utf (7) ),
+.MR utf 7 ),
which has a couple of effects.
First, the return value of
.B yylex()
@@ -156,7 +156,7 @@ parser prototype using stdio
.SH SOURCE
.B \*9/src/cmd/yacc.c
.SH "SEE ALSO"
-.MR lex (1)
+.MR lex 1
.br
S. C. Johnson and R. Sethi,
``Yacc: A parser generator'',