Front page | perl.perl6.internals |
Postings from March 2002
Re: [PATCH] Core.ops documentation nits
Thread Previous
|
Thread Next
From:
Nicholas Clark
Date:
March 11, 2002 12:30
Subject:
Re: [PATCH] Core.ops documentation nits
Message ID:
20020311202916.GA368@Bagpuss.unfortu.net
On Sat, Feb 16, 2002 at 10:32:10PM +0000, Simon Glover wrote:
^^^^^^^^^^^^^^^^^
How many more of these unapplied beauties are there?
I've got several in my mailbox that I'm finally finding time to work back to,
but I'm not convinced that I can find them all, or that some haven't been
applied without me noticing this on the p6 list.
This one didn't apply for some reason, but I believe it to be valid:
> @@ -1299,8 +1298,6 @@
>
> =item B<mul>(out NUM, in NUM, in NUM)
>
> -=item B<mul>(n, n, nc)
> -
> Set $1 to the product of $2 and $3.
>
> =cut
Gah. This one got fuzzed into the wrong place.
> @@ -1318,7 +1315,9 @@
>
> ########################################
>
> -=item B<not>(out INT, in INT)
> +=item B<neg>(out INT, in INT)
> +
> +=item B<neg>(out NUM, in NUM)
>
> Set $1 to the negative of $2.
>
> @@ -2178,6 +2177,10 @@
Should I apply the revised patch as appended?
Nicholas Clark
--
Even better than the real thing: http://nms-cgi.sourceforge.net/
--- core.ops.orig Wed Mar 6 22:06:02 2002
+++ core.ops Mon Mar 11 20:27:58 2002
@@ -576,7 +576,7 @@
=head2 Conditional branch operations
-These opertions perform a conditional relative branch. If the condition is
+These operations perform a conditional relative branch. If the condition is
met, the branch happens, otherwise control falls to the next operation.
=over 4
@@ -1298,8 +1298,6 @@
=item B<mul>(out NUM, in NUM, in NUM)
-=item B<mul>(n, n, nc)
-
Set $1 to the product of $2 and $3.
=cut
@@ -1319,6 +1317,8 @@
=item B<not>(out INT, in INT)
+=item B<neg>(out NUM, in NUM)
+
Set $1 to the negative of $2.
=cut
@@ -1395,7 +1395,6 @@
}
-=back
=cut
@@ -2252,6 +2251,10 @@
stack_push(interpreter, interpreter->user_stack, $1, STACK_ENTRY_STRING, STACK_CLEANUP_NULL);
goto NEXT();
}
+
+=back
+
+=cut
########################################
Thread Previous
|
Thread Next