aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-06 19:09:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-06 19:09:00 +0000
commit279088dca61ff8b3eba9213224848a2d47e6c941 (patch)
treea87f0c1c20db3bc71eb955c9e4d499df687aa6fe /read.c
parentb1be2297051d05342ce460b198946cf9a4b42c44 (diff)
downloadmandoc-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.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/read.c b/read.c
index 62894d2e..751067ef 100644
--- a/read.c
+++ b/read.c
@@ -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",