bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bjarni Ingi Gislason
Subject: [bug #57611] [PATCH] tmac/mdoc.tmac-u: Add the file name to the diagnostics
Date: Fri, 7 Feb 2020 11:13:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]