[fpc-devel] Pascal to Javascript - Call for Help

Marcos Douglas md at delfire.net
Tue Apr 8 02:06:28 CEST 2014


On Mon, Apr 7, 2014 at 5:44 AM, Michael Van Canneyt
<michael at freepascal.org> wrote:
>
>
> On Sat, 5 Apr 2014, Marcos Douglas wrote:
>
>>>
>>> Michael.
>>
>>
>> Hi Michael,
>>
>> A first little patch.
>> In line 1101 -- Function TPasToJSConverter.ConvertRepeatStatement --
>> you need to put a "raise"
>>
>> ===code===
>>  except
>>    FreeAndNil(B);
>>    FreeAndNil(C);
>>    raise; <<<<
>>  end;
>> ===code===
>
>
> Thank you. There were several other locations where the raise was missing, I
> fixed them as well.

Inspiration, maybe:
http://blog.synopse.info/post/2014/04/07/JavaScript-support-in-mORMot-via-SpiderMonkey

Marcos Douglas



More information about the fpc-devel mailing list