]> git.cameronkatri.com Git - mandoc.git/commitdiff
adjust two desired error messages after roff_escape.c rev. 1.11
authorIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jun 2022 12:19:03 +0000 (12:19 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jun 2022 12:19:03 +0000 (12:19 +0000)
improved diagnostics for the \C escape sequence

regress/roff/mc/args.out_lint

index 56ed4e2869bc452dfa62a338f7f05148cb02f779..f862a46541a7f77c53fc2cc9c2dd7a6524dcafaf 100644 (file)
@@ -1,6 +1,6 @@
 mandoc: args.in:9:6: WARNING: ignoring distance argument: mc ... suffix
-mandoc: args.in:11:5: WARNING: invalid escape sequence: \C
-mandoc: args.in:11:5: ERROR: skipping unusable escape sequence: mc \C
+mandoc: args.in:11:5: ERROR: invalid special character: \CXX
+mandoc: args.in:11:5: ERROR: skipping unusable escape sequence: mc \CXX
 mandoc: args.in:13:5: UNSUPP: unsupported escape sequence: \!
 mandoc: args.in:13:5: ERROR: skipping unusable escape sequence: mc \!
 mandoc: args.in:15:5: ERROR: skipping unusable escape sequence: mc \a