|
From: | lilypond |
Subject: | Re: Issue 1495 in lilypond: mac line endings and line comment disaster |
Date: | Wed, 02 Feb 2011 09:57:46 +0000 |
Comment #3 on issue 1495 by address@hidden: mac line endings and line comment disaster
http://code.google.com/p/lilypond/issues/detail?id=1495Since test-baseline fails on the current Lilypond source, I can't make a regression test.
I attach the git patch to this report. Anybody can apply it to his git tree using "git am" on it, and commit after he feels confident doing that.
It fixes the problem, but due to the currently non-working regression tests, I can't vouch for anything else.
It should not change the interpretation of any file not containing a carriage return. But it may change the interpretation of files with DOS line endings. Not more than the difference between DOS and UNIX line endings may already be. Since CR is treated in the parser, and the parser contains . patterns matching CR but not LF, this is a greater mess than just the comment problem, and likely affecting more than just MAC files. But this patch should cap this particular tip of the iceberg.
Attachments: 0001-Fix-1495.patch 640 bytes
[Prev in Thread] | Current Thread | [Next in Thread] |