summaryrefslogtreecommitdiff
path: root/contrib/groff/tmac/tmac.trace
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/tmac/tmac.trace')
-rw-r--r--contrib/groff/tmac/tmac.trace10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/groff/tmac/tmac.trace b/contrib/groff/tmac/tmac.trace
new file mode 100644
index 0000000000000..2691c46ecb04c
--- /dev/null
+++ b/contrib/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
+..