diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 01:18:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 01:18:25 +0000 |
commit | 437eb74af037fff6e93890f2a4f81426d7142fab (patch) | |
tree | 9259f758a86bc2b941f66a06231c4ee965bd23c0 /Makefile | |
parent | 92f8786f6ad5b622da1afc6b267a40001731571b (diff) | |
download | mandoc-437eb74af037fff6e93890f2a4f81426d7142fab.tar.gz mandoc-437eb74af037fff6e93890f2a4f81426d7142fab.tar.zst mandoc-437eb74af037fff6e93890f2a4f81426d7142fab.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.526 2018/12/13 11:55:46 schwarze Exp $ +# $Id: Makefile,v 1.527 2018/12/14 01:18:25 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> # Copyright (c) 2011, 2013-2018 Ingo Schwarze <schwarze@openbsd.org> @@ -96,6 +96,7 @@ SRCS = att.c \ man_validate.c \ mandoc.c \ mandoc_aux.c \ + mandoc_msg.c \ mandoc_ohash.c \ mandoc_xr.c \ mandocd.c \ @@ -237,6 +238,7 @@ LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ chars.o \ mandoc.o \ mandoc_aux.o \ + mandoc_msg.o \ mandoc_ohash.o \ mandoc_xr.o \ msec.o \ |