Project

General

Profile

Bug #11254

usb_parse_data.9f: WARNING: skipping paragraph macro: PP after SH

Added by Michal Nowak 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

mandoc 1.14.5 produces few warnings on usb_parse_data(9f):

Man page format/spelling:
mandoc: usr/src/man/man9f/usb_parse_data.9f:10:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:21:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:74:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:94:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:100:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:133:2: WARNING: skipping paragraph macro: PP after SH
mandoc: usr/src/man/man9f/usb_parse_data.9f:150:2: WARNING: skipping paragraph macro: PP after SH

mandoc is here slightly off, it's not PP, but LP macro (they are synonyms).

The fix is to remove LP macros after SH.

After fix I don't see any visual changes.

With this on, gate should be mandoc 1.14.5 clean.

History

#2

Updated by Electric Monk 4 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit ba6bf04be4fe9d821c75a16fdebd3af3bffdbf26

commit  ba6bf04be4fe9d821c75a16fdebd3af3bffdbf26
Author: Michal Nowak <mnowak@startmail.com>
Date:   2019-06-21T18:59:34.000Z

    11254 usb_parse_data.9f: WARNING: skipping paragraph macro: PP after SH
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF