From 5fbabdf032b370e99e8685958b6e15eb3b2ff0f7 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 4 May 2017 17:48:28 +0000 Subject: Parser reorg: Generate the first node on the roff level: .br Fix some column numbers in diagnostic messages while here. --- regress/roff/cond/close.out_lint | 2 +- regress/roff/cond/if.out_lint | 4 ++-- regress/roff/de/escname.out_lint | 4 ++-- regress/roff/de/indir.out_lint | 4 ++-- regress/roff/ig/basic.out_lint | 4 ++-- regress/roff/it/badarg.out_lint | 4 ++-- regress/roff/tr/args.out_lint | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'regress/roff') diff --git a/regress/roff/cond/close.out_lint b/regress/roff/cond/close.out_lint index e3419dba..c59a98d7 100644 --- a/regress/roff/cond/close.out_lint +++ b/regress/roff/cond/close.out_lint @@ -1 +1 @@ -mandoc: close.in:14:1: ERROR: appending missing end of block: if +mandoc: close.in:14:2: ERROR: appending missing end of block: if diff --git a/regress/roff/cond/if.out_lint b/regress/roff/cond/if.out_lint index bb8e2d3a..22f112d5 100644 --- a/regress/roff/cond/if.out_lint +++ b/regress/roff/cond/if.out_lint @@ -1,2 +1,2 @@ -mandoc: if.in:14:1: WARNING: conditional request controls empty scope: if -mandoc: if.in:16:1: WARNING: conditional request controls empty scope: if +mandoc: if.in:14:2: WARNING: conditional request controls empty scope: if +mandoc: if.in:16:2: WARNING: conditional request controls empty scope: if diff --git a/regress/roff/de/escname.out_lint b/regress/roff/de/escname.out_lint index b4dd49a0..f0fd2109 100644 --- a/regress/roff/de/escname.out_lint +++ b/regress/roff/de/escname.out_lint @@ -1,8 +1,8 @@ -mandoc: escname.in:21:1: ERROR: escaped character not allowed in a name: first\e +mandoc: escname.in:21:2: ERROR: escaped character not allowed in a name: first\e mandoc: escname.in:31:19: ERROR: escaped character not allowed in a name: first\e mandoc: escname.in:32:2: ERROR: skipping unknown macro: .first mandoc: escname.in:34:2: ERROR: skipping unknown macro: .first\\second mandoc: escname.in:37:5: ERROR: skipping excess arguments: .de ... excess arguments mandoc: escname.in:40:1: ERROR: escaped character not allowed in a name: witharg\( mandoc: escname.in:42:1: ERROR: escaped character not allowed in a name: de\e -mandoc: escname.in:42:1: WARNING: skipping empty request: de +mandoc: escname.in:42:2: WARNING: skipping empty request: de diff --git a/regress/roff/de/indir.out_lint b/regress/roff/de/indir.out_lint index 43194fea..96f42d1d 100644 --- a/regress/roff/de/indir.out_lint +++ b/regress/roff/de/indir.out_lint @@ -1,4 +1,4 @@ mandoc: indir.in:18:11: WARNING: undefined string, using "": myie mandoc: indir.in:25:6: WARNING: undefined string, using "": myim -mandoc: indir.in:25:1: WARNING: skipping empty request: dei -mandoc: indir.in:29:1: WARNING: skipping empty request: dei +mandoc: indir.in:25:2: WARNING: skipping empty request: dei +mandoc: indir.in:29:2: WARNING: skipping empty request: dei diff --git a/regress/roff/ig/basic.out_lint b/regress/roff/ig/basic.out_lint index 2b03b9cf..7c068e87 100644 --- a/regress/roff/ig/basic.out_lint +++ b/regress/roff/ig/basic.out_lint @@ -1,3 +1,3 @@ mandoc: basic.in:19:5: ERROR: skipping excess arguments: .ig ... excess -mandoc: basic.in:24:1: ERROR: skipping end of block that is not open: .. -mandoc: basic.in:26:1: ERROR: appending missing end of block: ig +mandoc: basic.in:24:2: ERROR: skipping end of block that is not open: .. +mandoc: basic.in:26:2: ERROR: appending missing end of block: ig diff --git a/regress/roff/it/badarg.out_lint b/regress/roff/it/badarg.out_lint index d2d4edb3..ac526c6b 100644 --- a/regress/roff/it/badarg.out_lint +++ b/regress/roff/it/badarg.out_lint @@ -1,2 +1,2 @@ -mandoc: badarg.in:12:1: ERROR: skipping request without numeric argument: it mytrap -mandoc: badarg.in:15:1: ERROR: skipping request without numeric argument: it +mandoc: badarg.in:12:2: ERROR: skipping request without numeric argument: it mytrap +mandoc: badarg.in:15:2: ERROR: skipping request without numeric argument: it diff --git a/regress/roff/tr/args.out_lint b/regress/roff/tr/args.out_lint index dec14b80..e2883ef7 100644 --- a/regress/roff/tr/args.out_lint +++ b/regress/roff/tr/args.out_lint @@ -1,3 +1,3 @@ -mandoc: args.in:6:1: WARNING: skipping empty request: tr +mandoc: args.in:6:2: WARNING: skipping empty request: tr mandoc: args.in:8:5: WARNING: odd number of characters in request: tr x mandoc: args.in:14:7: WARNING: odd number of characters in request: tr z -- cgit