[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61987] Incomplete PO output with Scheme lexeme and directives
From: |
Florent Angly |
Subject: |
[bug #61987] Incomplete PO output with Scheme lexeme and directives |
Date: |
Thu, 3 Feb 2022 10:55:29 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?61987>
Summary: Incomplete PO output with Scheme lexeme and
directives
Project: GNU gettext
Submitted by: fangly
Submitted on: 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
Discussion Lock: Any
_______________________________________________________
Details:
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 0.19.8.1 fails to parse the entirety of the
source code. Specifically, all code after the lexeme/directive is ignored.
Example Scheme file "test.scm":
(string-append
(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
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61987>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #61987] Incomplete PO output with Scheme lexeme and directives,
Florent Angly <=