Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(310)

Issue 1345041: fix ly:parser-parse-file in an ly file (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by Carl
Modified:
13 years, 8 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Replace the use of parser-parse-string with a new interface ly:parser-include-string. Benjamin recommends that ly:parser-parse-file should be banned from .ly files.

Patch Set 1 #

Patch Set 2 : Revised to add ly:parser-include-string interface #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
A input/regression/include-string.ly View 1 chunk +8 lines, -0 lines 0 comments Download
M lily/includable-lexer.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M lily/include/includable-lexer.hh View 1 2 chunks +2 lines, -0 lines 0 comments Download
M lily/include/lily-parser.hh View 1 chunk +1 line, -0 lines 1 comment Download
M lily/lexer.ll View 2 chunks +6 lines, -0 lines 1 comment Download
M lily/lily-parser.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M lily/lily-parser-scheme.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 14
Carl
Benjamin has sent a revised patch that addresses Neil's concerns. Please review the patch. THanks, ...
13 years, 10 months ago (2010-06-03 18:00:16 UTC) #1
benjamin_python.org
2010/6/3 <Carl.D.Sorensen@gmail.com>: > Reviewers: , > > Message: > Benjamin has sent a revised patch ...
13 years, 10 months ago (2010-06-03 20:11:36 UTC) #2
Carl
Thanks, I've changed the description.
13 years, 10 months ago (2010-06-03 20:48:29 UTC) #3
dak
> Note that this description isn't correct anymore. This patch doesn't > actually prevent those ...
13 years, 10 months ago (2010-06-04 15:57:43 UTC) #4
benjamin_python.org
2010/6/4 <dak@gnu.org>: > > Note that this description isn't correct anymore. This patch doesn't >> ...
13 years, 10 months ago (2010-06-04 16:14:39 UTC) #5
Reinhold
On 2010/06/04 16:14:39, benjamin_python.org wrote: > ly:parser-parse-string and ly:parser-parse-file try to run the whole > ...
13 years, 10 months ago (2010-06-07 13:59:45 UTC) #6
Neil Puttock
On 2010/06/07 13:59:45, Reinhold wrote: > The only occurrence where it might make sense to ...
13 years, 10 months ago (2010-06-07 19:17:27 UTC) #7
Reinhold
On 2010/06/07 19:17:27, Neil Puttock wrote: > On 2010/06/07 13:59:45, Reinhold wrote: > > However, ...
13 years, 10 months ago (2010-06-07 19:35:49 UTC) #8
nicolas.sceaux
Le 7 juin 2010 à 21:35, reinhold.kainhofer@gmail.com a écrit : > On 2010/06/07 19:17:27, Neil ...
13 years, 10 months ago (2010-06-08 19:08:39 UTC) #9
Carl
I'm not sure where we are on this patch; we've had some philosophical discussion whose ...
13 years, 9 months ago (2010-07-02 15:55:27 UTC) #10
Neil Puttock
On 2010/07/02 15:55:27, Carl wrote: > I'm not sure where we are on this patch; ...
13 years, 9 months ago (2010-07-08 23:47:34 UTC) #11
Carl
Neil has approved. He mentioned some style nitpicks. I went through looking for style nitpicks, ...
13 years, 9 months ago (2010-07-11 04:08:30 UTC) #12
Valentin Villenave
On 2010/07/11 04:08:30, Carl wrote: > If we get these cleared up, then I'll push. ...
13 years, 9 months ago (2010-07-18 09:08:19 UTC) #13
Neil Puttock
13 years, 9 months ago (2010-07-18 10:13:58 UTC) #14
On 2010/07/18 09:08:19, Valentin Villenave wrote:

> if you don't mind me asking, where are we wrt this patch?
> 
> If it only comes down to a coding style problem, I'm pretty sure I've already
> seen worse in existing source code :)

I've prepared a patch which I'll push later.

Cheers,
Neil
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b