diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 02:36:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 02:36:38 +0000 |
commit | 09af02110fb2332decede6c59de9e177433c15d7 (patch) | |
tree | 5c9e42c7d9eb47c69177aeb4177861bba1945485 /read.c | |
parent | 929d6892d847e3b8dbd10eb1d45d0699169185ad (diff) | |
download | mandoc-09af02110fb2332decede6c59de9e177433c15d7.tar.gz mandoc-09af02110fb2332decede6c59de9e177433c15d7.tar.zst mandoc-09af02110fb2332decede6c59de9e177433c15d7.zip |
warn about attempts to call non-callable macros;
inspired by a similar warning in the groff_mdoc(7) macros
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.101 2014/11/28 18:09:01 schwarze Exp $ */ +/* $Id: read.c,v 1.102 2014/11/30 02:36:38 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -120,6 +120,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", |