[svn:parrot] r48684 - trunk/src/ops

coke at svn.parrot.org coke at svn.parrot.org
Fri Aug 27 04:20:11 UTC 2010


Author: coke
Date: Fri Aug 27 04:20:11 2010
New Revision: 48684
URL: https://trac.parrot.org/parrot/changeset/48684

Log:
Update docs to reflect those of the function this op wraps.
Resolves TT #1752, moritz++

Modified:
   trunk/src/ops/var.ops

Modified: trunk/src/ops/var.ops
==============================================================================
--- trunk/src/ops/var.ops	Fri Aug 27 04:04:00 2010	(r48683)
+++ trunk/src/ops/var.ops	Fri Aug 27 04:20:11 2010	(r48684)
@@ -455,9 +455,10 @@
 
 =item B<find_name>(out PMC, in STR)
 
-Find the name $2 in lexical, current, global, or builtin namespace and
-store it in $1. If the name doesn't exist
-either throws an exception or sets $1 to PMCNULL, depending on current
+Find the name C<$2> in lexicals, then the current namespace, then the HLL
+root namespace, and finally Parrot builtins. These are checked in order
+and the first match is returned in C<$1>. If no matches are found,
+either throws an exception or sets C<$1> to PMCNULL, depending on current
 errors settings. See B<errorson>.
 
 =cut


More information about the parrot-commits mailing list