lilypond-devel
[Top][All Lists]
Advanced

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

Re: GOP-PROP 3: C++ formatting (update)


From: Graham Percival
Subject: Re: GOP-PROP 3: C++ formatting (update)
Date: Sat, 2 Jul 2011 21:09:36 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jun 29, 2011 at 11:53:34PM +0000, Keith OHara wrote:
> Pre-filtering works well, assuming we drop the corresponding astyle options:
> 
>  # add space before (, except in macro definitions
>  sed -i -e '/#\s*define/!s/\([)_[:alnum:]]\)(/\1 (/g' $*

Hmm.  This line gives me control characters, such as

--- a/flower/file-name.cc
+++ b/flower/file-name.cc
@@ -136,7 +136,7 @@ File_name::to_string () const
   string f = file_part ();
 
   if (!f.empty ()
-      && !dir_.empty())
+      && !dir_.empt^A ())


No clue why.  :(

Cheers,
- Graham



reply via email to

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