Permalink
Browse files

[pmc] Typo corrections

git-svn-id: https://svn.parrot.org/parrot/trunk@37393 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 0a5c6e2 commit 01e804c89d98201d50565293201ab240a9e9137c @Util Util committed Mar 13, 2009
View
@@ -164,7 +164,7 @@ make_branch_list(PARROT_INTERP,
* target is unpredictable because of the set_addr opcode, we
* need to find a solution for this, in the mean time, we will
* make each section have its own arena and try to avoid
- * going in and out from them as much as posible.
+ * going in and out from them as much as possible.
*
* PARROT_JUMP_RESTART
* If the parrot program counter is zero, fall out of the
View
@@ -70,7 +70,7 @@ enum {
* size: The size of the arena in bytes
* op_map: Maps opcode offsets to native code.
* map_size: The size of the map in bytes.
- * fixups: List of fixupes.
+ * fixups: List of fixups.
*/
typedef struct Parrot_jit_arena_t {
View
@@ -36,7 +36,7 @@ stopped. See the L<Glossary|docs/glossary.pod> for more information.
static void
print_sub_name(PARROT_INTERP, PMC *sub_pmc)
{
- /* It's acually a Parrot_coro, but this avoids casting warnings. */
+ /* It's actually a Parrot_coro, but this avoids casting warnings. */
Parrot_sub *co;
Interp * const tracer = (interp->pdb && interp->pdb->debugger) ?
interp->pdb->debugger :
View
@@ -1312,7 +1312,7 @@ Sets C<dest> to the absolute value of SELF.
VTABLE PMC *absolute(PMC *dest) {
const INTVAL a = abs(SELF.get_integer());
- /* RT #46635 overlflow for -maxint */
+ /* RT #46635 overflow for -maxint */
dest = pmc_new(INTERP, VTABLE_type(INTERP, SELF));
VTABLE_set_integer_native(INTERP, dest, a);
View
@@ -25,7 +25,7 @@ in that aggregate.
goto iter_loop
iter_end:
-The C<new> can alteratively be written as:
+The C<new> can alternatively be written as:
iterator = iter array
@@ -335,7 +335,7 @@ Returns the number of remaining elements in the aggregate. TODO.
=item C<PMC *get_pmc()>
-Returns this Interator's aggregate.
+Returns this Iterator's aggregate.
=cut
View
@@ -447,7 +447,7 @@ TOTAL KLUDGE. ON THE CHOPPING BLOCK.
VTABLE void *get_pointer_keyed_str(STRING *key) {
PMC *ns = (PMC *)parrot_hash_get(INTERP, NS_HASH(SELF), key);
- /* Be extra carefull about returnning PMCNULL */
+ /* Be extra careful about returning PMCNULL */
if (! PMC_IS_NULL(ns)) {
if ((PObj_get_FLAGS(ns) & FPA_is_ns_ext) &&
ns->vtable->base_type == enum_class_FixedPMCArray)
View
@@ -381,7 +381,7 @@ Returns the boolean value of the pointer.
=item C<METHOD arity()>
-Return the arity of the NCI (the number of arugments).
+Return the arity of the NCI (the number of arguments).
=cut
@@ -778,7 +778,7 @@ Map core_type to hll_type.
=item METHOD stdhandle(INTVAL fileno, PMC *newhandle :optional)
-Returns the standard parrot handler asscoiated with the interpreter.
+Returns the standard parrot handler associated with the interpreter.
The valid values for fileno are listed in include/stdio.pasm
Optionally sets the parrot handler passed as second argument
View
@@ -997,7 +997,7 @@ Checks if the ascii STRING C<str> is just an integer.
=item C<INTEGER reverse_index(STRING *substring, INTVAL start)>
-Find last occurence of C<substring>, but not after the C<start> position.
+Find last occurrence of C<substring>, but not after the C<start> position.
=cut
View
@@ -848,7 +848,7 @@ Sets the sub that is the outer of this one.
=item C<INTVAL arity()>
-Return the arity of the Sub (the number of arugments, excluding optional and
+Return the arity of the Sub (the number of arguments, excluding optional and
slurpy arguments).
=cut
View
@@ -104,7 +104,7 @@ The time at which this Task was inserted into the task list.
=item C<code>
-A C<Sub> or descendent PMC related to this task.
+A C<Sub> or descendant PMC related to this task.
=item C<interp>
View
@@ -186,7 +186,7 @@ end:
does b, p, "scalar"
is(b, 1, "Boolean does scalar")
does b, p, "boolean"
- is(b, 1, "Boolean does boolean (big suprise there)")
+ is(b, 1, "Boolean does boolean (big surprise there)")
does b, p, "no_interface"
is(b, 0, "Boolean doesn't do no_interface")
.end
View
@@ -62,7 +62,7 @@ Tests the object/class subsystem.
PMC_as_classes__derived_3()
subclassing_Class()
namespace_vs_name()
- multpile_anon_classes()
+ multiple_anon_classes()
subclassed_Integer_bug()
equality_of_subclassed_Integer()
short_name_attributes()
@@ -414,7 +414,7 @@ l1:
setattribute $P3, "i", $P5
getattribute $P6, $P2, "i"
- is( $P6, 100, 'attribute value on 1st object is specfic to obj' )
+ is( $P6, 100, 'attribute value on 1st object is specific to obj' )
getattribute $P6, $P3, "i"
is( $P6, 'One hundred', 'attribute value on 2nd obj is specific to obj' )
@@ -1037,12 +1037,12 @@ l1:
.namespace [] # Reset to root namespace for next test
#RT #33103
-.sub multpile_anon_classes
+.sub multiple_anon_classes
newclass $P0, "City3"
subclass $P1, $P0
newclass $P2, "State3"
subclass $P3, $P2
- ok( 1, "muliple anon classes didn't croak (bug #33103)" )
+ ok( 1, "multiple anon classes didn't croak (bug #33103)" )
.end
.sub subclassed_Integer_bug
@@ -645,10 +645,10 @@ lp2:
ne $I1, 0, err
inc $I0
lt $I0, $I2, lp2
- ok(1, "zeoredness tests passed")
+ ok(1, "zeroedness tests passed")
.return()
err:
- ok(0, "zeoredness tests failed")
+ ok(0, "zeroedness tests failed")
print "#Found non-zero value "
print $I1
print " at "
@@ -137,7 +137,7 @@ ok 2
ok 3
OUTPUT
-pasm_output_is( <<'CODE', <<'OUTPUT', "Setting negatively indeded elements" );
+pasm_output_is( <<'CODE', <<'OUTPUT', "Setting negatively indexed elements" );
new P0, ['ResizableFloatArray']
set P0, 1
@@ -153,7 +153,7 @@ CODE
caught something
OUTPUT
-pasm_output_is( <<'CODE', <<'OUTPUT', "Getting negatively indeded elements" );
+pasm_output_is( <<'CODE', <<'OUTPUT', "Getting negatively indexed elements" );
new P0, ['ResizableFloatArray']
set P0, 1
View
@@ -68,7 +68,7 @@ Tests the C<String> PMC.
test_string_reverse_index()
out_of_bounds_substr_positive_offset()
out_of_bounds_substr_negative_offset()
- excpetion_to_int_2()
+ exception_to_int_2()
exception_to_int_3()
# END_OF_TESTS
@@ -349,7 +349,7 @@ TRUE4: ok( $I0, 'String "0123" is true' )
set $I0, 1
if $P4, TRUE5
set $I0, 0
-TRUE5: nok( $I0, 'uninitizalized String is false' )
+TRUE5: nok( $I0, 'uninitialized String is false' )
.end
.sub test_concat
@@ -997,7 +997,7 @@ handler:
.exception_is( 'Cannot take substr outside string' )
.end
-.sub excpetion_to_int_2
+.sub exception_to_int_2
.local pmc s
s = new ['String']
s = "123"
View
@@ -21,7 +21,7 @@ t/pmc/sys.t - System Tests
=head1 DESCRIPTION
-Tests system dependend stuff
+Tests system dependent stuff
=cut

0 comments on commit 01e804c

Please sign in to comment.