summaryrefslogtreecommitdiff
path: root/tmac/s.tmac
diff options
context:
space:
mode:
authorwl <wl>2007-07-02 14:49:35 +0000
committerwl <wl>2007-07-02 14:49:35 +0000
commitb8081a460646d0b25ea49310055b3d430b947e46 (patch)
tree8a22f5466aeb5b177507c06dcc8057727f011260 /tmac/s.tmac
parent5b2f9200383ec01f1f90bef7b353e6b2c960ba73 (diff)
downloadgroff-b8081a460646d0b25ea49310055b3d430b947e46.tar.gz
* tmac/s.tmac (cov*first-page-init): Emit error message if not in
top-level environment.
Diffstat (limited to 'tmac/s.tmac')
-rw-r--r--tmac/s.tmac4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmac/s.tmac b/tmac/s.tmac
index fade6438..ef882551 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -135,6 +135,10 @@ Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
.als AB cov*err-not-before-tl
.de cov*first-page-init
.rm cov*first-page-init
+.if !'\\n[.ev]'0' \{\
+. @error must be in top-level environment, not `\\n[.ev]',
+. @error when first page is started
+.\}
.par@init
.als RP cov*err-not-after-first-page
.@init