Author: bernhard
Date: Mon Feb 25 12:47:14 2008
New Revision: 26060

Modified:
   trunk/tools/dev/gen_class.pl

Log:
#51056: [PATCH] coding style consistency and doc fix

Courtesy of Christoph Otto.


Modified: trunk/tools/dev/gen_class.pl
==============================================================================
--- trunk/tools/dev/gen_class.pl        (original)
+++ trunk/tools/dev/gen_class.pl        Mon Feb 25 12:47:14 2008
@@ -20,6 +20,7 @@
 it to C.
 
     % perl tools/dev/gen_class.pl Foo > src/pmc/foo.pmc
+    % perl tools/build/pmc2c.pl --dump src/pmc/foo.pmc
     % perl tools/build/pmc2c.pl -c src/pmc/foo.pmc
 
 =head1 SEE ALSO
@@ -72,7 +73,7 @@
     next if exists $skip_bodies{$methname};
     next if $methname =~ /prop/;
 
-    print "    $retval $methname ($args) {\n";
+    print "    $retval $methname($args) {\n";
 
     if ( $retval ne 'void' ) {
         print $retval eq 'PMC*'

Reply via email to