SKIP node with SKIP neighbors |
Top Previous Next |
Grammar tests > SKIP node with SKIP neighbors
The error message
"X" is a SKIP node with SKIP neighbors
appears, if in one alternative more than one SKIP node is contained.
Until now, in TETRA has no algorithm to treat such cases.
Example:
Rule1 ::= ( "TETRA" | SKIP )*
Rule2 ::= ( "Texttransformer" | SKIP )*
Rule3 ::= Rule1 | Rule2
A simple reformulation resolves the problem here:
Rule3 ::= ( "TETRA" |"Texttransformer | SKIP )*
The situation is more difficult, if the neighbored SKIP nodes belong to different kinds of structures.
|
This page belongs to the TextTransformer Documentation |
Home Content German |