Stack maximum

Top  Previous  Next

User interface > Main menu > Menu: Options > Project options > Warnings/Errors > Stack maximum

 

The first value refers to the stack of the productions of the main parser.

By this value the internal stack will be limited. This limitation is a protection against infinite loops, which can appear in case of left recursions. The default value 100 normally suffices.

 

Remark: the internal stack is greater than the shown stack, because the internal stack contains in addition branches to sub-rules.

 

 

The second value refers to the stack of the productions of a look-ahead. The limitation of this stack is important to avoid a crash of the system at possible circular calls.

 



This page belongs to the TextTransformer Documentation

Home  Content  German