[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix line comments for new snippets (issue 549820043 by address@hidde
From: |
dak |
Subject: |
Re: Fix line comments for new snippets (issue 549820043 by address@hidden) |
Date: |
Mon, 06 Apr 2020 05:43:37 -0700 |
Reviewers: lemzwerg,
Message:
On 2020/04/06 12:40:50, lemzwerg wrote:
> LGTM, and please push directly.
I'd rather not have 2.21.0 in a state inconsistent with its makelsr
program. So if I were to push, I'd need to push the results of a new
makelsr run as well.
Description:
Fix line comments for new snippets
LilyPond line comments should start with "%%" but snippets generated
from Documentation/snippets/new/*.ly previously only used single
percent signs.
Please review this at https://codereview.appspot.com/549820043/
Affected files (+5, -5 lines):
M scripts/auxiliar/makelsr.py
Index: scripts/auxiliar/makelsr.py
diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py
index
3f94a07203a7b8c6391fd24d925bd984a04beed5..73291990b11ecfe4e7c81d6bc8ba43a3eb2c6218
100755
--- a/scripts/auxiliar/makelsr.py
+++ b/scripts/auxiliar/makelsr.py
@@ -36,12 +36,12 @@ LY_HEADER_LSR = '''%% DO NOT EDIT this file manually; it is
automatically
'''
new_lys_marker = "%% generated from %s" % new_lys
-LY_HEADER_NEW = '''%% DO NOT EDIT this file manually; it is automatically
+LY_HEADER_NEW = '''%%%% DO NOT EDIT this file manually; it is automatically
%s
-%% Make any changes in Documentation/snippets/new/
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+%%%% Make any changes in Documentation/snippets/new/
+%%%% and then run scripts/auxiliar/makelsr.py
+%%%%
+%%%% This file is in the public domain.
''' % new_lys_marker
options_parser = optparse.OptionParser (