diff options
author | 2014-07-07 21:36:20 +0000 | |
---|---|---|
committer | 2014-07-07 21:36:20 +0000 | |
commit | 60f3ca299cfdd742129822cb1c94240fd2b245d8 (patch) | |
tree | c87cfb7758748e910eeccf93d630b027ed45bac0 /read.c | |
parent | e58e4d36d9b8a3ec3a09c28936eb9627f5f39485 (diff) | |
download | mandoc-60f3ca299cfdd742129822cb1c94240fd2b245d8.tar.gz mandoc-60f3ca299cfdd742129822cb1c94240fd2b245d8.tar.zst mandoc-60f3ca299cfdd742129822cb1c94240fd2b245d8.zip |
Clean up ERROR messages related to document structure and macros:
Hierarchical naming and mention macro names in messages.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.67 2014/07/07 16:12:20 schwarze Exp $ */ +/* $Id: read.c,v 1.68 2014/07/07 21:36:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -180,17 +180,20 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "data block still open", "ignoring extra data cells", + /* related to document structure and macros */ "input stack limit exceeded, infinite loop?", "skipping bad character", + "skipping unknown macro", + "skipping column outside column list", + "skipping end of block that is not open", + "inserting missing end of block", + "appending missing end of block", + + /* related to request and macro arguments */ "escaped character not allowed in a name", "manual name not yet set", - "skipping unknown macro", "argument count wrong", "unknown standard specifier", - "skipping column outside column list", - "skipping end of block that is not open", - "missing end of block", - "scope open on exit", "uname(3) system call failed", "request requires a numeric argument", "missing list type, using -item", |