[BACK]Return to empty.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / de

File: [cvsweb.bsd.lv] / mandoc / regress / roff / de / empty.in (download)

Revision 1.1, Sun Apr 21 23:51:22 2019 UTC (5 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD

When calling an empty macro, do not clobber existing arguments.
Fixing a bug found with the groffer(1) version 1.19 manual page
following a report from Jan Stary.

.\" $OpenBSD: empty.in,v 1.1 2019/04/21 23:45:50 schwarze Exp $
.Dd $Mdocdate: April 21 2019 $
.Dt DE-EMPTY 1
.Os
.Sh NAME
.Nm de-empty
.Nd empty user-defined macro with arguments
.Sh DESCRIPTION
initial text
.de empty
..
.de real
arg=\\$1
.empty wrong
arg=\\$1
..
.real right
final text