Standstill in look-ahead

Top  Previous  Next

Messages > Standstill in look ahead

 

There is the danger of an infinite recourse in a look-ahead if at the beginning of a production just this production is used for the look-ahead in an IF condition. Example:

 

ab        =  IF( ab ) ...

 

Before a look-ahead is started therefore will be checked whether the parser already is in a look-ahead. If this is the case and if there hasn't been progress in the text in the look-ahead yet, the parser is stopped and the error message appears:

 

Standstill in look-ahead



This page belongs to the TextTransformer Documentation

Home  Content  German