diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-02 19:22:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-02 19:22:47 +0000 |
commit | a157b341b159badc71b8c015d7371cb337a5bd5e (patch) | |
tree | d4c94faf69d9aafc7c03bf188124a7d280ebe5b7 /regress | |
parent | 41e82296c4d3d88568f41e598a5c18759bda8ddd (diff) |
Simplify and reindent make_pending(). No functional change
except that some error messages become less confusing.
Now the function is almost readable (but still requires
nineteen lines of comments for fourteen lines of code).
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/break.out_lint | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Op/break.out_lint | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/break.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/break.out_lint index 7be7b279797..c534bee29c1 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/break.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Bl/break.out_lint @@ -4,10 +4,10 @@ mandoc: break.in:22:2: ERROR: skipping item outside list: It mandoc: break.in:32:2: WARNING: blocks badly nested: Bl breaks Bd mandoc: break.in:41:2: WARNING: blocks badly nested: Bl breaks Bd mandoc: break.in:42:2: ERROR: skipping item outside list: It -mandoc: break.in:49:2: WARNING: blocks badly nested: Bl breaks It +mandoc: break.in:49:2: WARNING: blocks badly nested: Bl breaks Bo mandoc: break.in:51:2: ERROR: inserting missing end of block: Sh breaks Bo mandoc: break.in:51:2: ERROR: inserting missing end of block: Sh breaks It -mandoc: break.in:54:2: WARNING: blocks badly nested: Bl breaks It +mandoc: break.in:54:2: WARNING: blocks badly nested: Bl breaks Bo mandoc: break.in:53:25: ERROR: appending missing end of block: Bo mandoc: break.in:52:2: ERROR: appending missing end of block: Bl mandoc: break.in:53:2: WARNING: empty list item: Bl -enum It diff --git a/regress/usr.bin/mandoc/mdoc/Op/break.out_lint b/regress/usr.bin/mandoc/mdoc/Op/break.out_lint index 879b003ff94..49c0fd12d2a 100644 --- a/regress/usr.bin/mandoc/mdoc/Op/break.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Op/break.out_lint @@ -1,3 +1,3 @@ mandoc: break.in:9:2: WARNING: blocks badly nested: Op breaks Do mandoc: break.in:15:7: WARNING: blocks badly nested: Op breaks Do -mandoc: break.in:15:2: WARNING: blocks badly nested: Op breaks Op +mandoc: break.in:15:2: WARNING: blocks badly nested: Op breaks Do |