[svn:parrot] r39229 - in trunk/docs: book pct
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Fri May 29 00:28:37 UTC 2009
Author: jkeenan
Date: Fri May 29 00:28:36 2009
New Revision: 39229
URL: https://trac.parrot.org/parrot/changeset/39229
Log:
Applying patch contributed by amk in https://trac.parrot.org/parrot/ticket/704: minor touch-ups to documentation.
Modified:
trunk/docs/book/ch03_pir.pod
trunk/docs/book/ch04_compiler_tools.pod
trunk/docs/pct/pct_optable_guide.pod
Modified: trunk/docs/book/ch03_pir.pod
==============================================================================
--- trunk/docs/book/ch03_pir.pod Thu May 28 23:00:35 2009 (r39228)
+++ trunk/docs/book/ch03_pir.pod Fri May 29 00:28:36 2009 (r39229)
@@ -1681,7 +1681,7 @@
Adding a role to a class is called I<composing> that role, and any class
that has been composed with a role C<does> that role.
-Roles are created as PMC and can be manipulated through opcodes and methods
+Roles are created as PMCs and can be manipulated through opcodes and methods
like other PMCs:
$P0 = new 'Role'
@@ -2362,7 +2362,7 @@
is especially important when dealing with high-level languages. We'll go into
detail about annotations and their use in Chapter 10.
-Annotations are created using the c<.annotation> keyword. Annotations consist
+Annotations are created using the C<.annotation> keyword. Annotations consist
of a key/value pair, where the key is a string and the value is an integer,
a number, or a string. Since annotations are stored compactly as constants in
the compiled bytecode, PMCs cannot be used.
Modified: trunk/docs/book/ch04_compiler_tools.pod
==============================================================================
--- trunk/docs/book/ch04_compiler_tools.pod Thu May 28 23:00:35 2009 (r39228)
+++ trunk/docs/book/ch04_compiler_tools.pod Fri May 29 00:28:36 2009 (r39229)
@@ -253,12 +253,12 @@
=over 4
-=item* C<commandline_prompt>
+=item * C<commandline_prompt>
The C<commandline_prompt> method allows you to specify a custom prompt to
display to users in interactive mode.
-=item* C<commandline_banner>
+=item * C<commandline_banner>
The C<commandline_banner> method allows you to specify a banner message that
displays at the beginning of interactive mode.
Modified: trunk/docs/pct/pct_optable_guide.pod
==============================================================================
--- trunk/docs/pct/pct_optable_guide.pod Thu May 28 23:00:35 2009 (r39228)
+++ trunk/docs/pct/pct_optable_guide.pod Fri May 29 00:28:36 2009 (r39229)
@@ -245,7 +245,7 @@
course, this fully depends on the specification of your language. Sometimes,
you need a different rule to define subroutine invocation syntax. This is the
case when arguments can be other objects than operands of normal operators
-(which, again, are defined by the c<term:> rule).
+(which, again, are defined by the C<term:> rule).
An example to handle indexing (assuming the index is an operand as any other
operator's operand) is this:
More information about the parrot-commits
mailing list