At 09:50 PM 11/10/2001 -0500, Jeff wrote:
>The following patch fixes the following bugs with macros:
Applied, with the updated macro.t. Thanks.
Dan
--"it's like this"---
Dan Sugalski
Erps, macro.t had a slight bug. The included version of macro.t fixes it.
--Jeff
<[EMAIL PROTECTED]>
#! perl -w
use Parrot::Test tests => 7;
output_is( <<'CODE', <
The following patch fixes the following bugs with macros:
1) Macros with zero parameters were disallowed
2) Local branches inside macros were not being given unique names on a
per-invocation basis. This made it impossible to write the following
code:
--- cut here ---
answer macro R
eq R,42,$