bugGNU gettext - Bugs: bug #61987, Incomplete PO output with Scheme...


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

bug #61987: Incomplete PO output with Scheme lexeme and directives

Submitter:  Florent Angly <fangly>
Submitted:  Thu 03 Feb 2022 03:55:27 PM UTC
Category:  Scheme Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 03 Feb 2022 03:55:27 PM UTC, original submission:  

Scheme introduced a lexeme with R6RS (http://www.larcenists.org/Documentation/Documentation0.98/r6rs.pdf) and directives with R7RS (http://www.larcenists.org/Documentation/Documentation0.98/r7rs.pdf). When I use these features, xgettext fails to parse the entirety of the source code. Specifically, all code after the lexeme/directive is ignored.

Example Scheme file "test.scm":

  (i18n "User")
  #!r6rs      ; R6RS lexeme
  #!fold-case ; R7RS directive
  #!foo       ; custom directive
  (i18n "disabled"))

When I run

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

the output PO file should include both the "user" and "disabled" msgids, but "disabled" is missing. Commenting out the lines with lexeme/directives leads to the expected output being generated

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 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.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-c54d.
    Corresponding source code