Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1729

[bug #57611] [PATCH] tmac/mdoc.tmac-u: Add the file name to the diagnostics

From Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.groff.bug
Subject [bug #57611] [PATCH] tmac/mdoc.tmac-u: Add the file name to the diagnostics
Date 2020-02-07 11:13 -0500
Message-ID <mailman.441.1581092046.2412.bug-groff@gnu.org> (permalink)
References <20200116-152340.sv93188.81716@savannah.gnu.org> <20200116-171522.sv97361.69986@savannah.gnu.org> <20200204-075405.sv108747.78875@savannah.gnu.org> <20200207-161359.sv93188.19145@savannah.gnu.org>

Show all headers | View raw


Follow-up Comment #3, bug #57611 (project groff):



tmac/doc-*: Add the input file name to diagnostics
    
      The files "doc-common-u" and "doc-syms-u" contain lines
    to be sent to standard error with "mdoc warning",
    but without the name of the input file.
    
      Add the file name to the diagnostic.
    
The whole patch is in the attachment.

--- a/tmac/doc-common-u
+++ b/tmac/doc-common-u

-.        tm mdoc warning: .Os: Unknown BSD version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown BSD version '\$2' (#\n[.c])

-.        tm mdoc warning: .Os: Unknown FreeBSD version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown FreeBSD version '\$2'
(#\n[.c])

-.        tm mdoc warning: .Os: Unknown DragonFly version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown DragonFly version '\$2'
(#\n[.c])

-.        tm mdoc warning: .Os: Unknown NetBSD version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown NetBSD version '\$2'
(#\n[.c])

-.        tm mdoc warning: .Os: Unknown OpenBSD version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown OpenBSD version '\$2'
(#\n[.c])

-.        tm mdoc warning: .Os: Unknown Darwin version '\$2' (#\n[.c])
+.        tm \n[.F]: mdoc warning: .Os: Unknown Darwin version '\$2'
(#\n[.c])

-.    tm mdoc warning: A .Bl directive has no matching .El (#\n[.c])
+.    tm \n[.F]: mdoc warning: A .Bl directive has no matching .El (#\n[.c])
-.    tm mdoc warning: A .Bd directive has no matching .Ed (#\n[.c])
+.    tm \n[.F]: mdoc warning: A .Bd directive has no matching .Ed (#\n[.c])
-.    tm mdoc warning: A .Bf directive has no matching .Ef (#\n[.c])
+.    tm \n[.F]: mdoc warning: A .Bf directive has no matching .Ef (#\n[.c])
--- a/tmac/doc-syms-u
+++ b/tmac/doc-syms-u

-.          tmc mdoc warning: .At: Unknown AT&T UNIX version
+.          tmc \n[.F]: mdoc warning: .At: Unknown AT&T UNIX version

-.          tmc mdoc warning: .Dx: Unknown DragonFly version
+.          tmc \n[.F]: mdoc warning: .Dx: Unknown DragonFly version

-.          tmc mdoc warning: .Fx: Unknown FreeBSD version
+.          tmc \n[.F]: mdoc warning: .Fx: Unknown FreeBSD version

-.          tmc mdoc warning: .Nx: Unknown NetBSD version
+.          tmc \n[.F]: mdoc warning: .Nx: Unknown NetBSD version

-.        tmc "mdoc warning: .St: Unknown standard abbreviation
+.        tmc "\n[.F]: mdoc warning: .St: Unknown standard abbreviation

-.      tmc "mdoc warning: .Lb: no description for library
+.      tmc "\n[.F]: mdoc warning: .Lb: no description for library


(file #48371)
    _______________________________________________________

Additional Item Attachment:

File name: groff.bug                      Size:6 KB
    <https://savannah.gnu.org/file/groff.bug?file_id=48371>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57611>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/

Back to gnu.groff.bug | Previous | Next | Find similar | Unroll thread


Thread

[bug #57611] [PATCH] tmac/mdoc.tmac-u: Add the file name to the diagnostics Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org> - 2020-02-07 11:13 -0500

csiph-web