[sldev] [VWR] LSL Compiler Limitations?

Phoenix phoenix at secondlife.com
Fri Oct 5 09:06:29 PDT 2007


The build team here continues to use lex and yacc and the process to  
strip out things we cannot redistribute swaps around a few uuids and  
filenames to switch it over to flex and bison.

SL-45464: Fix lex-compiler issue causing a hard limit in the number  
of script parameters

is marked as resolved, but obviously something is wrong. I will  
investigate.


On 2007-10-05, at 08:02, Nicholaz Beresford wrote:
> Well, AFAIK the bug only appears in the official Linden
> versions.  My compiles here don't the limitations compiling
> on Windows and without code changes.  So I guess it's
> something the Lindens need to at in their environment.
>
>
> Nick
>
>
>
> Argent Stonecutter wrote:
>> On 05-Oct-2007, at 03:14, Ingmar Hupp wrote:
>>> See https://jira.secondlife.com/browse/VWR-811
>>>
>>> The bug seems to occur only on the Windows platform and not on  
>>> the Mac platform (both official, 1.18.0 when I tested), which  
>>> also indicates differences in the build tools used (lexx/yacc)  
>>> might be the cause.
>> Try #defining YYMAXDEPTH to a larger number (try 2000, as Strife  
>> suggested) in the header part of indra.y.
>> Eg:
>>     #ifdef LL_WINDOWS
>> +       #define YYMAXDEPTH 2000                 // avoid syntax  
>> error on deeply nested LSL
>>         #pragma warning( disable : 4065 )       // warning: switch  
>> statement con
>> tains 'default' but no 'case' labels
>>         #endif
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> /index.html
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20071005/09f2e87a/PGP.pgp


More information about the SLDev mailing list