bugGNU gettext - Bugs: bug #61882, Scheme datum comments are not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61882: Scheme datum comments are not supported

Submitter:  Florent Angly <fangly>
Submitted:  Thu 20 Jan 2022 04:37:22 PM UTC
   
 
Category:  Scheme Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sun 01 Dec 2024 04:35:04 PM UTC, comment #2: 

The fix is contained in gettext 0.23.

Bruno Haible <haible>
Group administrator
Fri 16 Aug 2024 11:58:27 PM UTC, comment #1: 
Bruno Haible <haible>
Group administrator
Thu 20 Jan 2022 04:37:22 PM UTC, original submission:  

Comments are described in section 2.2 of the Revised7 Report on the Algorithmic Language Scheme (R7RS, https://small.r7rs.org/attachment/r7rs.pdf).

With xgettext 0.19.8.1, line comments and block comments seem to be handled well, but not datum comments.

Example Scheme file, test.scm:

(string-append
  ;(i18n "Laboratory")
  #;(i18n
      "Instrument")
  #|
   (i18n "Analyst")
   |#
  (i18n "Method"))


When I run

> xgettext --language=Scheme --keyword=id:i18n test.scm

the output PO file erroneously contains the "Instrument" msgid.

Florent Angly <fangly>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by fangly (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-12-01 haible StatusFixed Fix Released
    2024-08-16 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-5eb5.
    Corresponding source code