Author: jkeenan Date: Wed Jan 7 05:09:43 2009 New Revision: 35120 Modified: trunk/CREDITS trunk/compilers/pirc/src/bcgen.c trunk/compilers/pirc/src/pirpcc.c trunk/docs/vtables.pod trunk/languages/perl6/src/classes/Abstraction.pir trunk/languages/perl6/src/classes/Callable.pir trunk/languages/perl6/src/classes/IO.pir trunk/languages/perl6/src/classes/Mapping.pir trunk/languages/pipp/docs/pipp.pod trunk/languages/pipp/src/common/guts.pir trunk/runtime/parrot/library/Data/Dumper/Default.pir
Log: Applying patch submitted by Geraud Continsouzas in https://trac.parrot.org/parrot/ticket/135 (plus one small fix to CREDITS). Modified: trunk/CREDITS ============================================================================== --- trunk/CREDITS (original) +++ trunk/CREDITS Wed Jan 7 05:09:43 2009 @@ -1,4 +1,5 @@ =pod + # $Id$ Following in the steps of other open source projects that Modified: trunk/compilers/pirc/src/bcgen.c ============================================================================== --- trunk/compilers/pirc/src/bcgen.c (original) +++ trunk/compilers/pirc/src/bcgen.c Wed Jan 7 05:09:43 2009 @@ -227,7 +227,7 @@ /* -static void +=item C<static void check_requested_constant(bytecode * const bc, unsigned index, int expectedtype)> Perform a sanity check on a requested constant. The constant at index C<index> @@ -384,7 +384,7 @@ /* -void +=item C<void add_annotation(bytecode * const bc, opcode_t offset, opcode_t key, opcode_t type, opcode_t value)> Add an annotation for the bytecode at C<offset>, having a key C<key>, Modified: trunk/compilers/pirc/src/pirpcc.c ============================================================================== --- trunk/compilers/pirc/src/pirpcc.c (original) +++ trunk/compilers/pirc/src/pirpcc.c Wed Jan 7 05:09:43 2009 @@ -15,8 +15,6 @@ =head1 FUNCTIONS -=over 4 - */ #include "pirpcc.h" @@ -31,6 +29,8 @@ /* +=over 4 + =item C<static int calculate_pcc_target_flags(target * const result)> Modified: trunk/docs/vtables.pod ============================================================================== --- trunk/docs/vtables.pod (original) +++ trunk/docs/vtables.pod Wed Jan 7 05:09:43 2009 @@ -82,7 +82,7 @@ This will produce a skeleton PMC file (to be preprocessed into ordinary C code by the F<tools/build/pmc2c.pl> program) with stubs for all the methods -you need to fill in. N<Actually, there are more stubs here then you probably +you need to fill in. Actually, there are more stubs here then you probably I<need> to fill in. Your PMC isn't going to want to support all these methods, and in many cases you may want to fall back to default behavior instead of implementing a dummy method.> The function C<init> allows you to @@ -310,3 +310,5 @@ See the POD documentation in F<tools/build/pmc2c.pl> for a list of useful keywords that you may use in the .pmc file. + +=cut Modified: trunk/languages/perl6/src/classes/Abstraction.pir ============================================================================== --- trunk/languages/perl6/src/classes/Abstraction.pir (original) +++ trunk/languages/perl6/src/classes/Abstraction.pir Wed Jan 7 05:09:43 2009 @@ -15,10 +15,6 @@ abstraction = '!keyword_role'('Abstraction') .end -=back - -=cut - # Local Variables: # mode: pir # fill-column: 100 Modified: trunk/languages/perl6/src/classes/Callable.pir ============================================================================== --- trunk/languages/perl6/src/classes/Callable.pir (original) +++ trunk/languages/perl6/src/classes/Callable.pir Wed Jan 7 05:09:43 2009 @@ -15,10 +15,6 @@ callable = '!keyword_role'('Callable') .end -=back - -=cut - # Local Variables: # mode: pir # fill-column: 100 Modified: trunk/languages/perl6/src/classes/IO.pir ============================================================================== --- trunk/languages/perl6/src/classes/IO.pir (original) +++ trunk/languages/perl6/src/classes/IO.pir Wed Jan 7 05:09:43 2009 @@ -244,6 +244,8 @@ =head2 Coercion methods +=over 4 + =item Scalar Return the value inside this container in item context. Modified: trunk/languages/perl6/src/classes/Mapping.pir ============================================================================== --- trunk/languages/perl6/src/classes/Mapping.pir (original) +++ trunk/languages/perl6/src/classes/Mapping.pir Wed Jan 7 05:09:43 2009 @@ -310,6 +310,7 @@ .return (rv) .end +=back =head2 Private methods Modified: trunk/languages/pipp/docs/pipp.pod ============================================================================== --- trunk/languages/pipp/docs/pipp.pod (original) +++ trunk/languages/pipp/docs/pipp.pod Wed Jan 7 05:09:43 2009 @@ -29,14 +29,12 @@ =item No old style constructors, where the constructor is named after the class. -=cut +=back =head1 Implementation Pipp is based on the Parrot Compiler Toolkit. -=back - =head1 Status No current status available. Modified: trunk/languages/pipp/src/common/guts.pir ============================================================================== --- trunk/languages/pipp/src/common/guts.pir (original) +++ trunk/languages/pipp/src/common/guts.pir Wed Jan 7 05:09:43 2009 @@ -57,7 +57,7 @@ .include 'except_types.pasm' .include 'except_severity.pasm' -=head2 return +=item return For returning a value from a function. Modified: trunk/runtime/parrot/library/Data/Dumper/Default.pir ============================================================================== --- trunk/runtime/parrot/library/Data/Dumper/Default.pir (original) +++ trunk/runtime/parrot/library/Data/Dumper/Default.pir Wed Jan 7 05:09:43 2009 @@ -404,9 +404,6 @@ .return ( 1 ) .end - -=cut - =item Capture dumpe Dump a capture object.
