From 437eb74af037fff6e93890f2a4f81426d7142fab Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 14 Dec 2018 01:18:25 +0000 Subject: Major cleanup; may imply minor changes in edge cases of error reporting. Finally, drop support for the run-time configurable mandocmsg() callback. It was over-engineered from the start, never used for anything in a decade, and repeatedly caused maintenance headaches. Consolidate reporting infrastructure into two files, mandoc.h and mandoc_msg.c, mopping up the bits and pieces that were scattered around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes of four parsing-related functions, and both parser structs. --- man_macro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man_macro.c') diff --git a/man_macro.c b/man_macro.c index 71bc225f..89b4e725 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.133 2018/08/26 16:21:24 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.134 2018/12/14 01:18:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze @@ -22,6 +22,7 @@ #include #include +#include #include #include -- cgit v1.2.3-56-ge451