[svn:parrot] r38423 - trunk/docs/pmc

Util at svn.parrot.org Util at svn.parrot.org
Fri May 1 17:21:12 UTC 2009


Author: Util
Date: Fri May  1 17:21:11 2009
New Revision: 38423
URL: https://trac.parrot.org/parrot/changeset/38423

Log:
[docs] Old syntax .const .TYPENAME

Modified:
   trunk/docs/pmc/subs.pod

Modified: trunk/docs/pmc/subs.pod
==============================================================================
--- trunk/docs/pmc/subs.pod	Fri May  1 15:43:10 2009	(r38422)
+++ trunk/docs/pmc/subs.pod	Fri May  1 17:21:11 2009	(r38423)
@@ -68,9 +68,9 @@
 the C<:anon> pragma is included, they are stored in the constant table
 associated with the bytecode and can be fetched with the B<get_hll_global> and
 B<get_root_global> opcodes.  Within the PIR source, they can also be put in
-registers with a C<.const .Sub> declaration:
+registers with a C<.const 'Sub'> declaration:
 
-    .const .Sub rsub = 'random_sub'
+    .const 'Sub' rsub = 'random_sub'
 
 This uses C<find_sub_not_null> under the hood to look up the sub named
 "random_sub".


More information about the parrot-commits mailing list