Re: [PATCH] Macro fixes

2001-11-12 Thread Dan Sugalski
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

[PATCH] Macro fixes

2001-11-10 Thread Jeff
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

Re: [PATCH] Macro fixes

2001-11-10 Thread Jeff
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', OUTPUT, macro, zero parameters ); answer macro print 42 print \n endm answer end CODE 42 OUTPUT