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

Issue 2144047: Style: don't break compiling freetype-errors.cc (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Graham Percival (old account)
Modified:
13 years, 7 months ago
Reviewers:
perpeduumimmobile
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Style: don't break compiling freetype-errors.cc - Given a "define blah {" line, we *don't* want to move the { to the next line. - given a: = include "foo.h" ; don't move the include onto the = line, or the ; onto the include line.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M scripts/auxiliar/fixcc.py View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 4
Graham Percival (old account)
I'd appreciate it if a python guru / regex person could take a quick glance ...
13 years, 7 months ago (2010-09-10 19:46:57 UTC) #1
perpeduumimmobile
On 2010/09/10 19:46:57, Graham Percival wrote: > a python guru / regex person [...] That's ...
13 years, 7 months ago (2010-09-11 07:02:55 UTC) #2
Graham Percival (old account)
On 2010/09/11 07:02:55, perpeduumimmobile wrote: > Wouldn't it be easier to just say > - ...
13 years, 7 months ago (2010-09-11 11:34:07 UTC) #3
Graham Percival (old account)
13 years, 7 months ago (2010-10-02 15:49:29 UTC) #4
I just checked a second-order diff (i.e. produce a diff by running an unpatched
fixcc, then produce a diff by running the patched fixcc, then compare those
diffs), and the only two changes are:
1) don't change
    */
    ;
into:
    */;
(this seems like a very good change)

2) keep lily/freetype-error.cc compilable
(which was the whole point of this)


If I don't hear any screams otherwise in the next few days, I'll go ahead and
push this patch.  NB: I'm _only_ talking about modifying fixcc.py, not running
it.  In fact, I doubt that we'll ever run fixcc.py on master.
Sign in to reply to this message.

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