You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/07/08 02:01:44 UTC

[lucy-commits] svn commit: r1144098 - /incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm

Author: marvin
Date: Fri Jul  8 00:01:44 2011
New Revision: 1144098

URL: http://svn.apache.org/viewvc?rev=1144098&view=rev
Log:
Don't bother compressing whitespace.

We're about to port this code to C, where this sort of cleanup is harder.
It's not necessary, so kill it off.

Modified:
    incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm?rev=1144098&r1=1144097&r2=1144098&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm Fri Jul  8 00:01:44 2011
@@ -65,9 +65,6 @@ sub to_c_header {
     # Define short names.
     my $short_names = _short_names($self);
 
-    # Make the spacing in the file a little more elegant.
-    s/\s+$// for ( $method_typedefs, $method_defs, $short_names );
-
     # Inert classes only output inert functions and member vars.
     if ( $client->inert ) {
         return <<END_INERT