[sldev] [VWR] LSL Compiler Limitations?

Nicholaz Beresford nicholaz at blueflash.cc
Fri Oct 5 08:02:02 PDT 2007


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


More information about the SLDev mailing list