[svn:parrot] r43380 - in trunk: . t/pmc
coke at svn.parrot.org
coke at svn.parrot.org
Mon Jan 4 14:49:00 UTC 2010
Author: coke
Date: Mon Jan 4 14:48:58 2010
New Revision: 43380
URL: https://trac.parrot.org/parrot/changeset/43380
Log:
Fix typos.
Apply most of patch in TT #1344, courtesy kurahaupo++
Modified:
trunk/DEPRECATED.pod
trunk/t/pmc/context.t
trunk/t/pmc/exception.t
trunk/t/pmc/parrotinterpreter.t
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Mon Jan 4 05:38:09 2010 (r43379)
+++ trunk/DEPRECATED.pod Mon Jan 4 14:48:58 2010 (r43380)
@@ -103,7 +103,7 @@
=item Array PMC [eligible in 2.1]
-This PMC is old, ill-used and is superceded by other array-like PMCs. Any code
+This PMC is old, ill-used and is superseded by other array-like PMCs. Any code
using this PMC should migrate to ResizablePMCArray or something more suitable.
L<https://trac.parrot.org/parrot/ticket/1303>
@@ -187,7 +187,7 @@
Relative to the current HLL Namespace
if the arg is a Namespace or Class PMC
- The passed in class or the class attatched to the passed in namespace.
+ The passed in class or the class attached to the passed in namespace.
L<https://trac.parrot.org/parrot/ticket/159>
@@ -250,7 +250,7 @@
The function PDB_compile doesn't work since some time, and his implementation
was a hack. His functionality may be reimplemented in another way. Until the
-end of deprecation cycle it just throws an excpetion.
+end of deprecation cycle it just throws an exception.
The PDB_eval function, that used in the debugger to support the eval
command, was using PDB_compile. His functionality must be reimplemented
Modified: trunk/t/pmc/context.t
==============================================================================
--- trunk/t/pmc/context.t Mon Jan 4 05:38:09 2010 (r43379)
+++ trunk/t/pmc/context.t Mon Jan 4 14:48:58 2010 (r43380)
@@ -102,7 +102,7 @@
$P0 = getattribute ctx, 'handlers'
$I0 = elements $P0
- push_eh cought
+ push_eh caught
# Now we should have one more handler
$P0 = getattribute ctx, 'handlers'
$I1 = elements $P0
@@ -113,7 +113,7 @@
$I0 = 1
$P0 = getattribute ctx, 'world_domination'
$I0 = 0
- cought:
+ caught:
pop_eh
ok($I0, "No world domination in this CallContext")
Modified: trunk/t/pmc/exception.t
==============================================================================
--- trunk/t/pmc/exception.t Mon Jan 4 05:38:09 2010 (r43379)
+++ trunk/t/pmc/exception.t Mon Jan 4 14:48:58 2010 (r43380)
@@ -126,7 +126,7 @@
getattribute $P5, $P0, 'foo'
$I0 = 0
done:
- ok($I0, "Can't fetch non-existing aattribute")
+ ok($I0, "Can't fetch non-existent attribute")
.end
# Local Variables:
Modified: trunk/t/pmc/parrotinterpreter.t
==============================================================================
--- trunk/t/pmc/parrotinterpreter.t Mon Jan 4 05:38:09 2010 (r43379)
+++ trunk/t/pmc/parrotinterpreter.t Mon Jan 4 14:48:58 2010 (r43380)
@@ -97,13 +97,13 @@
ok($I0, 'Got ParrotInterp.context')
# Add more tests for Context. E.g. it is correct Context by inspecting it.
- push_eh cought
+ push_eh caught
$I0 = 1
$P0 = interp['some_field';0]
$I0 = 0
- cought:
+ caught:
pop_eh
- ok($I0, "Access to non-existing field throws exception")
+ ok($I0, "Access to non-existent field throws exception")
push_eh wrong_depth
$I0 = 1
More information about the parrot-commits
mailing list