[sldev] [VWR] LSL Compiler Limitations?

Argent Stonecutter secret.argent at gmail.com
Fri Oct 5 07:29:35 PDT 2007


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




More information about the SLDev mailing list