summaryrefslogtreecommitdiffstats
path: root/regress/roff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-06 22:59:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-06 22:59:48 +0000
commit4d46f5a0e2832b020c0352d54dcaad3bf87e0f0e (patch)
treeee0c06e82cd4d3bfefed904d7d0b7ccb4674a670 /regress/roff
parent8bfd46f38d1b15589e5ffa8b44915557a3030385 (diff)
downloadmandoc-4d46f5a0e2832b020c0352d54dcaad3bf87e0f0e.tar.gz
Now that we have the -Wstyle message level, downgrade six warnings
that are not syntax mistakes and that do not cause wrong formatting or content to style suggestions. Also upgrade two warnings that may cause information loss to errors.
Diffstat (limited to 'regress/roff')
-rw-r--r--regress/roff/args/man.out_lint16
-rw-r--r--regress/roff/args/mdoc.out_lint24
-rw-r--r--regress/roff/args/roff.out_lint32
-rw-r--r--regress/roff/nr/escname.out_lint2
-rw-r--r--regress/roff/string/name.out_lint14
5 files changed, 44 insertions, 44 deletions
diff --git a/regress/roff/args/man.out_lint b/regress/roff/args/man.out_lint
index 5b74f59e..6d6bbd84 100644
--- a/regress/roff/args/man.out_lint
+++ b/regress/roff/args/man.out_lint
@@ -1,9 +1,9 @@
-mandoc: man.in:35:13: WARNING: whitespace at end of input line
-mandoc: man.in:39:14: WARNING: whitespace at end of input line
-mandoc: man.in:43:15: WARNING: whitespace at end of input line
-mandoc: man.in:83:25: WARNING: whitespace at end of input line
-mandoc: man.in:87:26: WARNING: whitespace at end of input line
-mandoc: man.in:91:27: WARNING: whitespace at end of input line
-mandoc: man.in:104:5: WARNING: unterminated quoted argument
-mandoc: man.in:107:9: WARNING: unterminated quoted argument
+mandoc: man.in:35:13: STYLE: whitespace at end of input line
+mandoc: man.in:39:14: STYLE: whitespace at end of input line
+mandoc: man.in:43:15: STYLE: whitespace at end of input line
+mandoc: man.in:83:25: STYLE: whitespace at end of input line
+mandoc: man.in:87:26: STYLE: whitespace at end of input line
+mandoc: man.in:91:27: STYLE: whitespace at end of input line
+mandoc: man.in:104:5: STYLE: unterminated quoted argument
+mandoc: man.in:107:9: STYLE: unterminated quoted argument
mandoc: man.in:131:1: ERROR: escaped character not allowed in a name: IB\(
diff --git a/regress/roff/args/mdoc.out_lint b/regress/roff/args/mdoc.out_lint
index d28277a1..f4715ba2 100644
--- a/regress/roff/args/mdoc.out_lint
+++ b/regress/roff/args/mdoc.out_lint
@@ -1,13 +1,13 @@
-mandoc: mdoc.in:38:13: WARNING: whitespace at end of input line
-mandoc: mdoc.in:42:14: WARNING: whitespace at end of input line
-mandoc: mdoc.in:46:15: WARNING: whitespace at end of input line
-mandoc: mdoc.in:86:25: WARNING: whitespace at end of input line
-mandoc: mdoc.in:90:26: WARNING: whitespace at end of input line
-mandoc: mdoc.in:94:27: WARNING: whitespace at end of input line
-mandoc: mdoc.in:102:9: WARNING: unterminated quoted argument
-mandoc: mdoc.in:103:13: WARNING: unterminated quoted argument
-mandoc: mdoc.in:107:10: WARNING: unterminated quoted argument
-mandoc: mdoc.in:108:14: WARNING: unterminated quoted argument
-mandoc: mdoc.in:112:11: WARNING: unterminated quoted argument
-mandoc: mdoc.in:113:15: WARNING: unterminated quoted argument
+mandoc: mdoc.in:38:13: STYLE: whitespace at end of input line
+mandoc: mdoc.in:42:14: STYLE: whitespace at end of input line
+mandoc: mdoc.in:46:15: STYLE: whitespace at end of input line
+mandoc: mdoc.in:86:25: STYLE: whitespace at end of input line
+mandoc: mdoc.in:90:26: STYLE: whitespace at end of input line
+mandoc: mdoc.in:94:27: STYLE: whitespace at end of input line
+mandoc: mdoc.in:102:9: STYLE: unterminated quoted argument
+mandoc: mdoc.in:103:13: STYLE: unterminated quoted argument
+mandoc: mdoc.in:107:10: STYLE: unterminated quoted argument
+mandoc: mdoc.in:108:14: STYLE: unterminated quoted argument
+mandoc: mdoc.in:112:11: STYLE: unterminated quoted argument
+mandoc: mdoc.in:113:15: STYLE: unterminated quoted argument
mandoc: mdoc.in:121:1: ERROR: escaped character not allowed in a name: Fl\(
diff --git a/regress/roff/args/roff.out_lint b/regress/roff/args/roff.out_lint
index d6817400..5ac03917 100644
--- a/regress/roff/args/roff.out_lint
+++ b/regress/roff/args/roff.out_lint
@@ -1,16 +1,16 @@
-mandoc: roff.in:31:15: WARNING: whitespace at end of input line
-mandoc: roff.in:33:16: WARNING: whitespace at end of input line
-mandoc: roff.in:35:17: WARNING: whitespace at end of input line
-mandoc: roff.in:55:27: WARNING: whitespace at end of input line
-mandoc: roff.in:57:28: WARNING: whitespace at end of input line
-mandoc: roff.in:59:29: WARNING: whitespace at end of input line
-mandoc: roff.in:63:7: WARNING: unterminated quoted argument
-mandoc: roff.in:64:11: WARNING: unterminated quoted argument
-mandoc: roff.in:66:7: WARNING: unterminated quoted argument
-mandoc: roff.in:66:12: WARNING: whitespace at end of input line
-mandoc: roff.in:67:11: WARNING: unterminated quoted argument
-mandoc: roff.in:67:16: WARNING: whitespace at end of input line
-mandoc: roff.in:69:7: WARNING: unterminated quoted argument
-mandoc: roff.in:69:13: WARNING: whitespace at end of input line
-mandoc: roff.in:70:11: WARNING: unterminated quoted argument
-mandoc: roff.in:70:17: WARNING: whitespace at end of input line
+mandoc: roff.in:31:15: STYLE: whitespace at end of input line
+mandoc: roff.in:33:16: STYLE: whitespace at end of input line
+mandoc: roff.in:35:17: STYLE: whitespace at end of input line
+mandoc: roff.in:55:27: STYLE: whitespace at end of input line
+mandoc: roff.in:57:28: STYLE: whitespace at end of input line
+mandoc: roff.in:59:29: STYLE: whitespace at end of input line
+mandoc: roff.in:63:7: STYLE: unterminated quoted argument
+mandoc: roff.in:64:11: STYLE: unterminated quoted argument
+mandoc: roff.in:66:7: STYLE: unterminated quoted argument
+mandoc: roff.in:66:12: STYLE: whitespace at end of input line
+mandoc: roff.in:67:11: STYLE: unterminated quoted argument
+mandoc: roff.in:67:16: STYLE: whitespace at end of input line
+mandoc: roff.in:69:7: STYLE: unterminated quoted argument
+mandoc: roff.in:69:13: STYLE: whitespace at end of input line
+mandoc: roff.in:70:11: STYLE: unterminated quoted argument
+mandoc: roff.in:70:17: STYLE: whitespace at end of input line
diff --git a/regress/roff/nr/escname.out_lint b/regress/roff/nr/escname.out_lint
index 00c1b5b2..a2dabebe 100644
--- a/regress/roff/nr/escname.out_lint
+++ b/regress/roff/nr/escname.out_lint
@@ -1,4 +1,4 @@
mandoc: escname.in:9:5: ERROR: escaped character not allowed in a name: first\e
mandoc: escname.in:12:5: ERROR: escaped character not allowed in a name: first\e
mandoc: escname.in:18:13: WARNING: invalid escape sequence: \n[second
-mandoc: escname.in:18:12: WARNING: whitespace at end of input line
+mandoc: escname.in:18:12: STYLE: whitespace at end of input line
diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint
index 39260cde..795f5e80 100644
--- a/regress/roff/string/name.out_lint
+++ b/regress/roff/string/name.out_lint
@@ -2,16 +2,16 @@ mandoc: name.in:11:5: ERROR: escaped character not allowed in a name: bs\e
mandoc: name.in:13:5: ERROR: escaped character not allowed in a name: bl\
mandoc: name.in:16:29: WARNING: invalid escape sequence: \*[norm
mandoc: name.in:16:29: WARNING: undefined string, using "": norm
-mandoc: name.in:16:28: WARNING: whitespace at end of input line
+mandoc: name.in:16:28: STYLE: whitespace at end of input line
mandoc: name.in:18:7: WARNING: undefined string, using "": quot
-mandoc: name.in:18:6: WARNING: whitespace at end of input line
+mandoc: name.in:18:6: STYLE: whitespace at end of input line
mandoc: name.in:26:6: WARNING: undefined string, using "": bse
-mandoc: name.in:26:5: WARNING: whitespace at end of input line
+mandoc: name.in:26:5: STYLE: whitespace at end of input line
mandoc: name.in:28:5: WARNING: undefined string, using "": bs
-mandoc: name.in:28:4: WARNING: whitespace at end of input line
+mandoc: name.in:28:4: STYLE: whitespace at end of input line
mandoc: name.in:32:7: WARNING: undefined string, using "": bl e
-mandoc: name.in:32:6: WARNING: whitespace at end of input line
+mandoc: name.in:32:6: STYLE: whitespace at end of input line
mandoc: name.in:34:6: WARNING: undefined string, using "": ble
-mandoc: name.in:34:5: WARNING: whitespace at end of input line
+mandoc: name.in:34:5: STYLE: whitespace at end of input line
mandoc: name.in:36:5: WARNING: undefined string, using "": bl
-mandoc: name.in:36:4: WARNING: whitespace at end of input line
+mandoc: name.in:36:4: STYLE: whitespace at end of input line