aboutsummaryrefslogtreecommitdiff
path: root/man/man1/yacc.1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man1/yacc.1
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
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 cbd1eb73..3fbd47c2 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
-.IR lex (1)),
+.IM 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
-.IR utf (7)),
+.IM 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"
-.IR lex (1)
+.IM lex (1)
.br
S. C. Johnson and R. Sethi,
``Yacc: A parser generator'',