diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-30 02:31:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-30 02:31:33 +0000 |
commit | babdeae551d1f61cd4a3ed9d750401b8a4b99ae1 (patch) | |
tree | 74856a1133c6fa255c3383a52f7d32fd0966264c /usr.bin/mandoc/read.c | |
parent | e45493f09b14c04d57b809230f7a088d22de464e (diff) |
warn about attempts to call non-callable macros;
inspired by a similar warning in the groff_mdoc(7) macros
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index e3c62d8a57c..e0a7e26cf96 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.77 2014/11/28 18:07:38 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.78 2014/11/30 02:31:32 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -114,6 +114,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { /* related to macros and nesting */ "obsolete macro", + "macro neither callable nor escaped", "skipping paragraph macro", "moving paragraph macro out of list", "skipping no-space macro", |