lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5741 Parse in


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5741 Parse inline scheme using per-expression port
Date: Sat, 08 Feb 2020 08:45:51 -0000

Diff:


May need a rebase?

...
/home/james/Desktop/issue555160043_555200043.diff:10: trailing whitespace.

/home/james/Desktop/issue555160043_555200043.diff:58: trailing whitespace.
  typedef scm_t_port_type *guile_port_t; 
/home/james/Desktop/issue555160043_555200043.diff:64: trailing whitespace.

/home/james/Desktop/issue555160043_555200043.diff:74: trailing whitespace.

/home/james/Desktop/issue555160043_555200043.diff:77: trailing whitespace.

error: patch failed: lily/parse-scm.cc:21
error: lily/parse-scm.cc: patch does not apply
error: patch failed: lily/source-file.cc:134
error: lily/source-file.cc: patch does not apply

[issues:#5741] Parse inline scheme using per-_expression_ port

Status: Started
Created: Fri Feb 07, 2020 02:52 PM UTC by Han-Wen Nienhuys
Last Updated: Fri Feb 07, 2020 02:52 PM UTC
Owner: Han-Wen Nienhuys

Introduces a throw-away string port, Overlay_string_port, which makes
a port out of a random section of a C string. It does not own the
string, so there is no overhead in creating and discarding the ports
during parse time.

For GUILE v2, Overlay_string_port uses UTF-8 encoding, so UTF-8
encoded string constants within the Scheme constants are interpreted
as Unicode correctly.

This obviates the string port that Source_file carries along.

This commit fixes a problem with GUILE 2.2.6, where LilyPond
calculates offsets in the source file as bytes, while GUILE interprets
the source file as UTF-8 encoded Unicode. As a result, files with
Unicode before embedded scheme break completely.

https://codereview.appspot.com/557330043


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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