Well, I was a good boy and tried to follow the instructions on the
list and mail [EMAIL PROTECTED], but that bounced, so here it
is:

Here is a terribly simple genclass.pl patch to make the generated
classes actually compile. No, I don't know what to do about
the bad comment, either.

Index: genclass.pl
===================================================================
RCS file: /cvs/public/parrot/classes/genclass.pl,v
retrieving revision 1.8
diff -u -r1.8 genclass.pl
--- genclass.pl 30 Jan 2002 18:02:23 -0000      1.8
+++ genclass.pl 14 May 2002 19:23:30 -0000
@@ -36,7 +36,7 @@
     $thisproto =~ s[(\S+) (\S+)]
                    [$1 $2];
     # Quick hack - don't do that at home:
-    $thisproto =~ s/struct Parrot_Interp \*interpreter, PMC\* pmc,* *//;
+    $thisproto =~ s/struct Parrot_Interp\* interpreter, PMC\* pmc,* *//;
     print "   $thisproto {\n";
     print "   }\n\n";
 }

Cheers, Leon
-- 
Leon Brocard.............................http://www.astray.com/
Nanoware...............................http://www.nanoware.org/

.... All generalizations are false, including this one


----- End forwarded message -----

-- 
Leon Brocard.............................http://www.astray.com/
Nanoware...............................http://www.nanoware.org/

.... Famous last words - Don't worry, I can handle it

Reply via email to