[RPL/2] Interesting error

Adrian Blake adrian.blake at ieee.org
Lun 10 Déc 11:45:26 CET 2007


I think you have left some debugging information in the output:
RPL/2> clear
RPL/2> << >> 1 2 { 5 + 4 } exsub
[2683] Return from <instruction_exsub()> at line #85 (Success [0])
 >>> 5 + 4 <<<
[2683] Return from <instruction_exsub()> at line #351 (Success [0])

1: 5 + 4
RPL/2>

Adrian



BERTRAND Joël wrote:
>  >>> 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
> _______________________________________________
> RPL2 mailing list
> RPL2 at rayleigh.systella.fr
> https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2
> http://www.systella.fr/~bertrand/rpl2/english.html
> 
> 

-- 
Adrian Blake
Molonglo Radio Observatory
University of Sydney
1152 Hoskinstown Rd
Bungendore 2621
ph. 02 62382262  mobile 0407 232 978

http://150.101.125.30/images


Plus d'informations sur la liste de diffusion RPL2