[svn:parrot] r40464 - trunk/docs/book/pir
allison at svn.parrot.org
allison at svn.parrot.org
Sun Aug 9 18:16:57 UTC 2009
Author: allison
Date: Sun Aug 9 18:16:54 2009
New Revision: 40464
URL: https://trac.parrot.org/parrot/changeset/40464
Log:
[pirbook] Typo fixes from Nuno Carvalho.
Modified:
trunk/docs/book/pir/ch04_variables.pod
trunk/docs/book/pir/ch06_subroutines.pod
Modified: trunk/docs/book/pir/ch04_variables.pod
==============================================================================
--- trunk/docs/book/pir/ch04_variables.pod Sun Aug 9 03:07:17 2009 (r40463)
+++ trunk/docs/book/pir/ch04_variables.pod Sun Aug 9 18:16:54 2009 (r40464)
@@ -188,7 +188,7 @@
=end PIR_FRAGMENT
Both C<and> and C<or> are short-circuiting ops. If they can determine what
-value to return from the first argument, they'll never evaluate the third.
+value to return from the first argument, they'll never evaluate the second.
This is significant only for PMCs, as they might have side effects on
evaluation.
@@ -1785,7 +1785,7 @@
$P1 = $P0.'find_namespace'("Duck")
-The C<add_namespace>C<add_namespace method> method adds a new namespace
+The C<add_namespace>X<add_namespace method> method adds a new namespace
as a child of the namespace object:
$P0.'add_namespace'($P1)
Modified: trunk/docs/book/pir/ch06_subroutines.pod
==============================================================================
--- trunk/docs/book/pir/ch06_subroutines.pod Sun Aug 9 03:07:17 2009 (r40463)
+++ trunk/docs/book/pir/ch06_subroutines.pod Sun Aug 9 18:16:54 2009 (r40464)
@@ -76,7 +76,7 @@
By default, Parrot stores all subroutines in the namespace currently
active at the point of their declaration. The C<:anon>X<:anon subroutine
modifier> modifier tells Parrot not to store the subroutine in the
-namespace. The C<:nsentry>X:nsentry subroutine modifier> modifier stores
+namespace. The C<:nsentry>X<:nsentry subroutine modifier> modifier stores
the subroutine in the currenly active namespace with a different name.
For example, Parrot will store this subroutine in the current namespace
as C<bar>, not C<foo>:
More information about the parrot-commits
mailing list