[RPL/2] Interesting error

BERTRAND Joël joel.bertrand at systella.fr
Lun 10 Déc 10:29:01 CET 2007


 >>> After executing << >> 1 2 { 5 + 4 } exsub, try something else, same 
error?
>>>
>>> Put the line in an executable file and run, same error ?
>> 	Yes, there is a bug. You cannot write << >> 1 2 { 5 + 4 } exsub because 
>> a expression must start with '<<' and stop with '>>'. You have to write :
>>
>> RPL/2> << RELAX >> 2 2 { 5 + 4 } exsub
>>
>> 1: << 5 + 4 >>
>> RPL/2>
>>
>> 	I will fix this mistake as soon as possible. Thanks for report,
> 
> 	I confirm the bug, but I haven't find any fix yet. I don't understand 
> why exsub returns an error (and why this error comes from a NULL pointer 
> in a malloc() condition).
> 
> 	Nevertheless, this bug only occurs when you try to replace initial and 
> final delimitors. Thus you can use << RELAX >>. RELAX intrinsic is a 
> internal function that requires no argument and that do anything else. I 
> shall find a fix tomorrow if I have more time...

	Fixed in last daily snapshot. Please try
<http://www.systella.fr/~bertrand/rpl2/download/rpl-4.0.0.prerelease.3.20071210.tar.bz2>

	JKB


Plus d'informations sur la liste de diffusion RPL2