summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/tmac/tmac.trace
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-14 19:02:02 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-14 19:02:02 +0000
commit6a4f3d0fd940c1e7052ddf23907f0e297dc42f4b (patch)
tree712fd665d6b150ef04906975a7493d87d38a1a8a /gnu/usr.bin/groff/tmac/tmac.trace
parent9cf27152dae9dbf80b167732c78c47baee90ddc5 (diff)
Third time because import sucks.
Diffstat (limited to 'gnu/usr.bin/groff/tmac/tmac.trace')
-rw-r--r--gnu/usr.bin/groff/tmac/tmac.trace10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/tmac/tmac.trace b/gnu/usr.bin/groff/tmac/tmac.trace
new file mode 100644
index 00000000000..2691c46ecb0
--- /dev/null
+++ b/gnu/usr.bin/groff/tmac/tmac.trace
@@ -0,0 +1,10 @@
+.\" Load this before a macro package that you want to trace.
+.rn de !!de
+.!!de de
+.!!de \\$1
+.tm *** trace enter \\$1: \\\\$0 \\\\$@
+\\\\*[!!\\$1]\\\\
+.tm *** trace exit \\$1: \\\\$0 \\\\$@
+\\..
+.!!de !!\\$1 \\$2
+..