bug-gettext
[Top][All Lists]
Advanced

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

[bug #59262] Scheme line continuations are not handled correctly


From: Bruno Haible
Subject: [bug #59262] Scheme line continuations are not handled correctly
Date: Fri, 16 Aug 2024 19:58:06 -0400 (EDT)

Update of bug #59262 (group gettext):

                  Status:          Ready For Test => Fixed                  
             Assigned to:                  m1gu3l => haible                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

Thanks for the report. As Miguel noted, Guile in its default configuration
does *not* discard spaces and tabs after backslash-newline, therefore xgettext
must keep a way to follow the Guile behaviour.

I chose to make a distinction between --language=Scheme and --language=Guile.
With --language=Scheme, xgettext assumes R6RS or R7RS behaviour; with
--language=Guile, it assumes Guile behaviour.

Implemented through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=ee7dfc338f8ad53d416f7935a914d5cdf7bc5ed0
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=c3d3c5363c51ff43d5c13c6c6152d831c16fe942

Miguel, I did not take your patch because
  - I don't agree with introducing an xgettext option that augments the
--language handling. That's what the --language option is for.
  - It does not discard spaces and tabs between the backslash and the newline,
as required by R6RS and R7RS.
  - It does not enable R6RS compliant behaviour after #!r6rs.



    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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