diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 19:09:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 19:09:00 +0000 |
commit | 279088dca61ff8b3eba9213224848a2d47e6c941 (patch) | |
tree | a87f0c1c20db3bc71eb955c9e4d499df687aa6fe /read.c | |
parent | b1be2297051d05342ce460b198946cf9a4b42c44 (diff) | |
download | mandoc-279088dca61ff8b3eba9213224848a2d47e6c941.tar.gz mandoc-279088dca61ff8b3eba9213224848a2d47e6c941.tar.zst mandoc-279088dca61ff8b3eba9213224848a2d47e6c941.zip |
Clean up messages related to plain text and to escape sequences.
* Mention invalid escape sequences and string names, and fallbacks.
* Hierarchical naming.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.63 2014/07/05 12:34:17 schwarze Exp $ */ +/* $Id: read.c,v 1.64 2014/07/06 19:09:00 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -144,6 +144,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { /* related to bad macro arguments */ "skipping argument", + "unterminated quoted argument", "duplicate argument", "skipping duplicate display type", "skipping duplicate list type", @@ -152,12 +153,12 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "unknown font, skipping request", /* related to plain text */ - "blank line in non-literal context", - "tab in non-literal context", - "end of line whitespace", + "blank line in fill mode, using .sp", + "tab in filled text", + "whitespace at end of input line", "bad comment style", - "bad escape sequence", - "unterminated quoted string", + "invalid escape sequence", + "undefined string, using \"\"", "generic error", |