bug-gettext
[Top][All Lists]
Advanced

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

[bug #61882] Scheme datum comments are not supported


From: Florent Angly
Subject: [bug #61882] Scheme datum comments are not supported
Date: Thu, 20 Jan 2022 11:37:24 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61882>

                 Summary: Scheme datum comments are not supported
                 Project: GNU gettext
            Submitted by: fangly
            Submitted on: Thu 20 Jan 2022 04:37:22 PM UTC
                Category: Scheme
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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